summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 44ee4ec..2163fed 100755
--- a/setup.py
+++ b/setup.py
@@ -84,7 +84,11 @@ def pkg_config(name, require, min_vers=None):
84 84
85 85
86# use cython or pre-generated c files 86# use cython or pre-generated c files
87if os.path.exists(os.path.join(script_path, "efl", "eo", "efl.eo.pyx")): 87
88if os.getenv("USE_CYTHON") or \
89 not os.path.exists(
90 os.path.join(script_path, "efl", "eo", "efl.eo.c")
91 ):
88 92
89 module_suffix = ".pyx" 93 module_suffix = ".pyx"
90 94