aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2015-01-04 18:49:10 +0100
committerMatěj Cepl <mcepl@cepl.eu>2015-01-05 12:59:40 +0100
commite48572bca289eba580b96ca6273c0a3fb4e7d47f (patch)
tree06868c25913f9f55d2fe34ab226e93124f813757 /setup.py
parentfc73177f54a70ceacfc1ea381c769c6d5b8de12e (diff)
downloadpygn-e48572bca289eba580b96ca6273c0a3fb4e7d47f.tar.gz
Add lexer based on rply.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 9fdad76..e74d78a 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,8 @@ class Build_WLP_ext(build_ext):
# that's how it should be.
# otherwise, subsequent calls down the stack unwind the list and
# check_call won't get it.
- ([['yacc', '-d', '-o', 'wlp/commands.tab.c', 'wlp/commands.y']]),
+ ([['yacc', '-d', '-o', 'wlp_c/commands.tab.c',
+ 'wlp_c/commands.y']]),
'Generating lexer')
self.make_file(
'wlp/commands.l', 'wlp/lex.yy.c', check_call,
@@ -53,7 +54,7 @@ setup(name='pygn',
},
# TODO package actually requires lex and yacc port, but not sure
# how to say it here
- requires=[],
+ requires=['rply'],
license="GPLv3",
keywords=["nntp", "email", "gateway"],
classifiers=[