Commit f4faa0ee authored by Stefan Behnel's avatar Stefan Behnel

Revert "Do not compile Lexicon.py. It's really only used once and is much...

Revert "Do not compile Lexicon.py. It's really only used once and is much larger as a binary module than as a byte code file, but not slower to import."
Currently seems to be required when the scanner is compiled.
This reverts commit d66405c6.
parent 86495ff7
...@@ -101,6 +101,7 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan ...@@ -101,6 +101,7 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan
compiled_modules = [ compiled_modules = [
"Cython.Plex.Scanners", "Cython.Plex.Scanners",
"Cython.Plex.Actions", "Cython.Plex.Actions",
"Cython.Compiler.Lexicon",
"Cython.Compiler.Scanning", "Cython.Compiler.Scanning",
"Cython.Compiler.Parsing", "Cython.Compiler.Parsing",
"Cython.Compiler.Visitor", "Cython.Compiler.Visitor",
...@@ -113,7 +114,6 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan ...@@ -113,7 +114,6 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan
if compile_more: if compile_more:
compiled_modules.extend([ compiled_modules.extend([
"Cython.Build.Dependencies", "Cython.Build.Dependencies",
"Cython.Compiler.Lexicon",
"Cython.Compiler.ParseTreeTransforms", "Cython.Compiler.ParseTreeTransforms",
"Cython.Compiler.Nodes", "Cython.Compiler.Nodes",
"Cython.Compiler.ExprNodes", "Cython.Compiler.ExprNodes",
......
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