make sure we do not compile (for now) in Py3
authorStefan Behnel <scoder@users.berlios.de>
Fri, 24 Apr 2009 17:44:10 +0000 (19:44 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 24 Apr 2009 17:44:10 +0000 (19:44 +0200)
setup.py

index a78af98a1239e1261fbf0803a17122bb75319df7..5860edc2b0d36710bc02164c5264b32b6a08b34a 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ else:
     scripts = ["cython.py"]
 
 try:
-    if version is None:
+    if sys.version_info[0] >= 3:
         raise ValueError
     sys.argv.remove("--no-cython-compile")
 except ValueError: