Permalink
Please sign in to comment.
Browse files
Separate the fastlex.so build from the pylibc.so build.
fastlex is in progress, which broke the workflow of other develoopers.
- Loading branch information...
Showing
with
36 additions
and 26 deletions.
- +2 −2 build/codegen.sh
- +20 −12 build/dev.sh
- +0 −12 build/setup.py
- +14 −0 build/setup_fastlex.py
| @@ -0,0 +1,14 @@ | ||
| #!/usr/bin/env python | ||
| from distutils.core import setup, Extension | ||
| # https://stackoverflow.com/questions/4541565/how-can-i-assert-from-python-c-code | ||
| module = Extension('fastlex', | ||
| sources = ['native/fastlex.c'], | ||
| undef_macros = ['NDEBUG'] | ||
| ) | ||
| setup(name = 'fastlex', | ||
| version = '1.0', | ||
| description = 'Module to speed up lexers', | ||
| include_dirs = ['_build/gen'], | ||
| ext_modules = [module]) |
0 comments on commit
113311a