From: Stefan Behnel Date: Fri, 24 Apr 2009 17:44:10 +0000 (+0200) Subject: make sure we do not compile (for now) in Py3 X-Git-Tag: 0.12.alpha0~310 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c12815a844d3bb3edd56addb468e2032a23da43f;p=cython.git make sure we do not compile (for now) in Py3 --- 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: