From c12815a844d3bb3edd56addb468e2032a23da43f Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 24 Apr 2009 19:44:10 +0200 Subject: [PATCH] make sure we do not compile (for now) in Py3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a78af98a..5860edc2 100644 --- 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: -- 2.26.2