summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-01-02 10:15:20 +0100
committerDave Andreoli <dave@gurumeditation.it>2015-01-02 10:15:20 +0100
commitc4bbbcf3dcb9a57266aade74f1ddcddc41175e29 (patch)
tree5950c5b2c847db8b6cf11c3e9169d7ed987fb894 /setup.py
parentc0f2f5b379a99516e5d10927ee5a3d6abaabb2ad (diff)
Another cython version to blacklist :(
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index eda8486..b2e1b96 100755
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,7 @@ VERSION = "%d.%d" % (vers[0], vers[1] if vers[2] < 99 else vers[1] + 1)
18 18
19# dependencies 19# dependencies
20CYTHON_MIN_VERSION = "0.19" 20CYTHON_MIN_VERSION = "0.19"
21CYTHON_BLACKLIST = ("0.21.1", "0.21.2")
21EFL_MIN_VER = RELEASE 22EFL_MIN_VER = RELEASE
22ELM_MIN_VER = RELEASE 23ELM_MIN_VER = RELEASE
23 24
@@ -142,9 +143,10 @@ may be caused by version of Cython that's too old.""" % (
142 raise SystemExit("Requires Cython >= %s (http://cython.org/)" % ( 143 raise SystemExit("Requires Cython >= %s (http://cython.org/)" % (
143 CYTHON_MIN_VERSION)) 144 CYTHON_MIN_VERSION))
144 145
145 # Cython 0.21.1 PyMethod_New() is broken! blacklisted 146 # Cython PyMethod_New() is broken! blacklisted
146 if Cython.__version__ == "0.21.1": 147 if Cython.__version__ in CYTHON_BLACKLIST:
147 raise SystemExit("Cython 0.21.1 is broken! Use another release.") 148 raise SystemExit("Cython %s is broken! Use another release." %
149 Cython.__version__)
148 150
149 # Stop compilation on first error 151 # Stop compilation on first error
150 Cython.Compiler.Options.fast_fail = True 152 Cython.Compiler.Options.fast_fail = True