diff options
author | Robert Bradshaw <robertwb@gmail.com> | 2014-02-22 02:03:20 -0800 |
---|---|---|
committer | Robert Bradshaw <robertwb@gmail.com> | 2014-02-22 02:03:20 -0800 |
commit | 82e48d3ac42e9c95747e8bfab4a0c4498d61b8fa (patch) | |
tree | 7537f28c1ba59186304d10735841443845028847 | |
parent | 9ae2d8d97439d9160954ab4a372e3f7b8ace4c91 (diff) | |
download | cython-82e48d3ac42e9c95747e8bfab4a0c4498d61b8fa.tar.gz |
Check for Python 2.6+
-rw-r--r-- | Cython/Compiler/Main.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 727fe9bb5..c53a6e5d3 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -3,8 +3,8 @@ # import os, sys, re, codecs -if sys.version_info[:2] < (2, 4): - sys.stderr.write("Sorry, Cython requires Python 2.4 or later\n") +if sys.version_info[:2] < (2, 6): + sys.stderr.write("Sorry, Cython requires Python 2.6 or later\n") sys.exit(1) import Errors @@ -461,8 +461,8 @@ class CompilationOptions(object): include_path [string] Directories to search for include files output_file string Name of generated .c file generate_pxi boolean Generate .pxi file for public declarations - capi_reexport_cincludes - boolean Add cincluded headers to any auto-generated + capi_reexport_cincludes + boolean Add cincluded headers to any auto-generated header files. timestamps boolean Only compile changed source files. verbose boolean Always print source names being compiled |