Commit 14b13e9c authored by Vitja Makarov's avatar Vitja Makarov

Disable flow-control compilation for CPython < 2.5

As it doesn't have builtin sets.
parent 92f424fc
......@@ -100,8 +100,10 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan
"Cython.Compiler.Parsing",
"Cython.Compiler.Visitor",
"Cython.Compiler.Code",
"Cython.Compiler.FlowControl",
"Cython.Runtime.refnanny",]
if sys.version_info[:2] > (2,4):
compiled_modules += [
"Cython.Compiler.FlowControl",]
if compile_more:
compiled_modules.extend([
"Cython.Compiler.ParseTreeTransforms",
......
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