summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-09-10 20:04:18 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-09-10 20:04:18 +0300
commitcf358655c079fb13ecf0f28e212f1ba20d443f61 (patch)
treefe8a46948c4a9d102a29c9fd51ecefc1accbccae /setup.py
parent2d3784e8cb0487de35ee8988f092cac80a877a33 (diff)
setup.py: Fix check for Cython when building from git source
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 864ce8a..8624512 100755
--- a/setup.py
+++ b/setup.py
@@ -113,6 +113,12 @@ else:
113 from Cython.Build import cythonize 113 from Cython.Build import cythonize
114 import Cython.Compiler.Options 114 import Cython.Compiler.Options
115 except ImportError: 115 except ImportError:
116 if not os.path.exists(os.path.join(script_path, "efl/eo/efl.eo.c")):
117 raise SystemExit(
118 "Requires Cython >= %s (http://cython.org/)" % (
119 CYTHON_MIN_VERSION
120 )
121 )
116 module_suffix = ".c" 122 module_suffix = ".c"
117 from distutils.command.build_ext import build_ext 123 from distutils.command.build_ext import build_ext
118 124