Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
bb486035
Commit
bb486035
authored
Mar 04, 2019
by
di68kap
Browse files
- reorganisation of directory tree: moved dhparser.py to newly created scripts dir
parent
58da0c15
Changes
7
Hide whitespace changes
Inline
Side-by-side
MANIFEST.in
View file @
bb486035
...
...
@@ -6,6 +6,7 @@ include test/run.py
recursive-exclude docs *
recursive-exclude DHParser *.c
recursive-exclude DHParser *.so
recursive-exclude DHParser *.pyd
include examples/EBNF/EBNF.ebnf
include examples/Tutorial/Lyrik.ebnf
...
...
@@ -19,8 +20,10 @@ recursive-exclude examples/ArithmeticRightRecursive *
recursive-exclude examples/BibTeX *
recursive-exclude examples/XMLSnippet *
recursive-include scripts *
recursive-exclude build *
recursive-exclude
D
ev
S
cripts *
recursive-exclude
d
ev
s
cripts *
recursive-exclude dist *
recursive-exclude experimental *
recursive-exclude external_resources *
...
...
D
ev
S
cripts/collect_symbols.py
→
d
ev
s
cripts/collect_symbols.py
View file @
bb486035
File moved
D
ev
S
cripts/test_stringview_performance.py
→
d
ev
s
cripts/test_stringview_performance.py
View file @
bb486035
File moved
dhparser.py
→
scripts/
dhparser.py
100755 → 100644
View file @
bb486035
File moved
DevS
cripts/rename_project.py
→
s
cripts/rename_project.py
100755 → 100644
View file @
bb486035
File moved
setup.py
View file @
bb486035
...
...
@@ -50,10 +50,10 @@ setup(
'Topic :: Software Development :: Code Generators'
,
'Topic :: Software Development :: Compilers'
],
scripts
=
[
'dhparser.py'
],
scripts
=
[
'
scripts/
dhparser.py'
],
entry_points
=
{
'console_scripts'
:
[
'dhparser=dhparser:main'
'dhparser=
scripts.
dhparser:main'
]
}
)
test/test_dhparser.py
View file @
bb486035
...
...
@@ -45,7 +45,7 @@ class TestDHParserCommandLineTool:
def
test_dhparser
(
self
):
nulldevice
=
" >/dev/null"
if
platform
.
system
()
!=
"Windows"
else
" > NUL"
os
.
system
(
'python ../dhparser.py testdata/neu '
+
nulldevice
)
os
.
system
(
'python ../
scripts/
dhparser.py testdata/neu '
+
nulldevice
)
os
.
system
(
'python testdata/neu/tst_neu_grammar.py '
+
nulldevice
)
os
.
system
(
'python testdata/neu/neuCompiler.py testdata/neu/example.dsl '
'>testdata/neu/example.xml'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment