setup.py: Fix check for Cython when building from git source
This commit is contained in:
parent
2d3784e8cb
commit
cf358655c0
6
setup.py
6
setup.py
|
@ -113,6 +113,12 @@ else:
|
|||
from Cython.Build import cythonize
|
||||
import Cython.Compiler.Options
|
||||
except ImportError:
|
||||
if not os.path.exists(os.path.join(script_path, "efl/eo/efl.eo.c")):
|
||||
raise SystemExit(
|
||||
"Requires Cython >= %s (http://cython.org/)" % (
|
||||
CYTHON_MIN_VERSION
|
||||
)
|
||||
)
|
||||
module_suffix = ".c"
|
||||
from distutils.command.build_ext import build_ext
|
||||
|
||||
|
|
Loading…
Reference in New Issue