From f4faa0ee50916d5e042493827062a47ae6b1d988 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 21 Aug 2017 19:14:56 +0200 Subject: 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 d66405c66edd52cdb7befe0e5797248ae5ac44ae. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index b96069199..6e912ebec 100755 --- a/setup.py +++ b/setup.py @@ -101,6 +101,7 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan compiled_modules = [ "Cython.Plex.Scanners", "Cython.Plex.Actions", + "Cython.Compiler.Lexicon", "Cython.Compiler.Scanning", "Cython.Compiler.Parsing", "Cython.Compiler.Visitor", @@ -113,7 +114,6 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan if compile_more: compiled_modules.extend([ "Cython.Build.Dependencies", - "Cython.Compiler.Lexicon", "Cython.Compiler.ParseTreeTransforms", "Cython.Compiler.Nodes", "Cython.Compiler.ExprNodes", -- cgit v1.2.1