Freeze Cython dep
This commit is contained in:
4
setup.py
4
setup.py
@@ -212,7 +212,7 @@ class NoPatchExtension(Extension):
|
|||||||
base.__init__(self, *args, **kwargs)
|
base.__init__(self, *args, **kwargs)
|
||||||
else:
|
else:
|
||||||
Extension.__init__(self, *args, **kwargs)
|
Extension.__init__(self, *args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class build_extensions(build_ext):
|
class build_extensions(build_ext):
|
||||||
|
|
||||||
@@ -388,7 +388,7 @@ def run_setup(extensions):
|
|||||||
# 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback
|
# 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback
|
||||||
# 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools
|
# 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools
|
||||||
if pre_build_check():
|
if pre_build_check():
|
||||||
kw['setup_requires'] = ['Cython>=0.20']
|
kw['setup_requires'] = ['Cython>=0.20,<0.25']
|
||||||
else:
|
else:
|
||||||
sys.stderr.write("Bypassing Cython setup requirement\n")
|
sys.stderr.write("Bypassing Cython setup requirement\n")
|
||||||
|
|
||||||
|
@@ -11,5 +11,5 @@ pure-sasl
|
|||||||
twisted
|
twisted
|
||||||
gevent>=1.0
|
gevent>=1.0
|
||||||
eventlet
|
eventlet
|
||||||
cython>=0.21
|
cython>=0.20,<0.25
|
||||||
packaging
|
packaging
|
||||||
|
Reference in New Issue
Block a user