summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-10-06 20:54:49 +0200
committerDave Andreoli <dave@gurumeditation.it>2015-10-06 20:54:49 +0200
commitdf1719d4c962ea08daa84ca0455526c54ab09bc9 (patch)
treed0febbe783c3cdef4ac3cd946abfe265285dba54 /setup.py
parent3c20338884f40eca42bf45070d3694fd1583c180 (diff)
Blacklist Cython 0.23.X
The 0.23 series break our enum usage, 0.24 will come with a new enum system, so wait for it and blacklist the broken one for now.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index b5e0032..5a3c6d2 100755
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ VERSION = "%d.%d" % (vers[0], vers[1] if vers[2] < 99 else vers[1] + 1)
20 20
21# dependencies 21# dependencies
22CYTHON_MIN_VERSION = "0.21" 22CYTHON_MIN_VERSION = "0.21"
23# CYTHON_BLACKLIST = ("0.21.1", "0.21.2") # only used if py3 23CYTHON_BLACKLIST = ("0.23")
24EFL_MIN_VER = RELEASE 24EFL_MIN_VER = RELEASE
25ELM_MIN_VER = RELEASE 25ELM_MIN_VER = RELEASE
26 26
@@ -230,10 +230,10 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
230 raise SystemExit("too old! Found %s Needed %s" % ( 230 raise SystemExit("too old! Found %s Needed %s" % (
231 Cython.__version__, CYTHON_MIN_VERSION)) 231 Cython.__version__, CYTHON_MIN_VERSION))
232 232
233 # Cython PyMethod_New() is broken for py3! blacklisted 233 # check black-listed releases
234 # if sys.version_info[0] > 2 and Cython.__version__ in CYTHON_BLACKLIST: 234 if Cython.__version__.startswith(CYTHON_BLACKLIST):
235 # raise SystemExit("found %s, it's broken! Need another release" % 235 raise SystemExit("found %s, it's broken! Need another release" %
236 # Cython.__version__) 236 Cython.__version__)
237 237
238 sys.stdout.write("OK, found %s\n" % Cython.__version__) 238 sys.stdout.write("OK, found %s\n" % Cython.__version__)
239 module_suffix = ".pyx" 239 module_suffix = ".pyx"