Commit bb486035 authored by di68kap's avatar di68kap

- reorganisation of directory tree: moved dhparser.py to newly created scripts dir

parent 58da0c15
......@@ -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 DevScripts *
recursive-exclude devscripts *
recursive-exclude dist *
recursive-exclude experimental *
recursive-exclude external_resources *
......
......@@ -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'
]
}
)
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment