Commit 82e48d3a authored by Robert Bradshaw's avatar Robert Bradshaw

Check for Python 2.6+

parent 9ae2d8d9
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# #
import os, sys, re, codecs import os, sys, re, codecs
if sys.version_info[:2] < (2, 4): if sys.version_info[:2] < (2, 6):
sys.stderr.write("Sorry, Cython requires Python 2.4 or later\n") sys.stderr.write("Sorry, Cython requires Python 2.6 or later\n")
sys.exit(1) sys.exit(1)
import Errors import Errors
...@@ -461,8 +461,8 @@ class CompilationOptions(object): ...@@ -461,8 +461,8 @@ class CompilationOptions(object):
include_path [string] Directories to search for include files include_path [string] Directories to search for include files
output_file string Name of generated .c file output_file string Name of generated .c file
generate_pxi boolean Generate .pxi file for public declarations generate_pxi boolean Generate .pxi file for public declarations
capi_reexport_cincludes capi_reexport_cincludes
boolean Add cincluded headers to any auto-generated boolean Add cincluded headers to any auto-generated
header files. header files.
timestamps boolean Only compile changed source files. timestamps boolean Only compile changed source files.
verbose boolean Always print source names being compiled verbose boolean Always print source names being compiled
......
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