summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-01-02 01:09:40 +0100
committerDave Andreoli <dave@gurumeditation.it>2015-01-02 01:09:40 +0100
commitc0f2f5b379a99516e5d10927ee5a3d6abaabb2ad (patch)
tree3128efafbdfdb44138d90377dda1aa3d10f7f0fa /setup.py
parent99c5e47ca595495182ece5f50b7a1d08b60e9657 (diff)
setup.py: be more verbose about python and cython versions
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 86f426e..eda8486 100755
--- a/setup.py
+++ b/setup.py
@@ -184,6 +184,22 @@ packages = ["efl"]
184 184
185if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv): 185if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
186 186
187 # === Python ===
188 sys.stdout.write("Checking for Python: ")
189 py_ver = sys.version_info
190 py_ver = "%s.%s.%s" % (py_ver[0], py_ver[1], py_ver[2])
191 if sys.hexversion < 0x020600f0:
192 raise SystemExit("too old. Found: %s Need at least 2.6.0" % py_ver)
193 else:
194 sys.stdout.write("OK, found %s\n" % py_ver)
195
196 # === Cython ===
197 sys.stdout.write("Checking for Cython: ")
198 if module_suffix == ".c":
199 sys.stdout.write("no need, using pre-generated C files\n")
200 else:
201 sys.stdout.write("OK, found %s\n" % Cython.__version__)
202
187 # === Eina === 203 # === Eina ===
188 eina_cflags, eina_libs = pkg_config('Eina', 'eina', EFL_MIN_VER) 204 eina_cflags, eina_libs = pkg_config('Eina', 'eina', EFL_MIN_VER)
189 205