Commit 23c28eff authored by Stefan Behnel's avatar Stefan Behnel

compile Visitor.py, reduces lxml compile time by another ~20%

parent f9b8f893
...@@ -31,7 +31,10 @@ except ValueError: ...@@ -31,7 +31,10 @@ except ValueError:
try: try:
from Cython.Compiler.Main import compile from Cython.Compiler.Main import compile
source_root = os.path.dirname(__file__) source_root = os.path.dirname(__file__)
compiled_modules = ["Cython.Plex.Scanners", "Cython.Compiler.Scanning", "Cython.Compiler.Parsing"] compiled_modules = ["Cython.Plex.Scanners",
"Cython.Compiler.Scanning",
"Cython.Compiler.Parsing",
"Cython.Compiler.Visitor"]
extensions = [] extensions = []
for module in compiled_modules: for module in compiled_modules:
source_file = os.path.join(source_root, *module.split('.')) source_file = os.path.join(source_root, *module.split('.'))
......
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