summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-05-31 12:18:32 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-05-31 12:18:32 +0300
commit72a9c8ac2d1f11611912a00e777becaf23fdfa2d (patch)
tree54ebefbbe63f606abdefe13ad1f9f66fa26100f4 /setup.py
parentfcbba66f25161681e7f851a4151ee3ef09b69ca4 (diff)
Remove pre-1.8 Python bindings' compatibility packages
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py28
1 files changed, 2 insertions, 26 deletions
diff --git a/setup.py b/setup.py
index bb30d0b..dee9e17 100755
--- a/setup.py
+++ b/setup.py
@@ -171,7 +171,7 @@ class CleanGenerated(Command):
171 171
172modules = [] 172modules = []
173packages = ["efl"] 173packages = ["efl"]
174package_dirs = {} 174#package_dirs = {} # Use this if you put packages in non-root paths
175 175
176if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv): 176if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
177 177
@@ -223,10 +223,6 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
223 ) 223 )
224 modules.append(evas_ext) 224 modules.append(evas_ext)
225 225
226 # compatibility
227 packages.append("evas")
228 package_dirs["evas"] = "compat/evas"
229
230 # === Ecore === 226 # === Ecore ===
231 ecore_cflags, ecore_libs = pkg_config('Ecore', 'ecore', EFL_MIN_VERSION) 227 ecore_cflags, ecore_libs = pkg_config('Ecore', 'ecore', EFL_MIN_VERSION)
232 ecore_file_cflags, ecore_file_libs = pkg_config( 228 ecore_file_cflags, ecore_file_libs = pkg_config(
@@ -266,10 +262,6 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
266 modules += ecore_exts 262 modules += ecore_exts
267 packages.append("efl.ecore") 263 packages.append("efl.ecore")
268 264
269 # compatibility
270 packages.append("ecore")
271 package_dirs["ecore"] = "compat/ecore"
272
273 # === Ethumb === 265 # === Ethumb ===
274 ethumb_cflags, ethumb_libs = pkg_config( 266 ethumb_cflags, ethumb_libs = pkg_config(
275 'Ethumb', 'ethumb', EFL_MIN_VERSION) 267 'Ethumb', 'ethumb', EFL_MIN_VERSION)
@@ -301,10 +293,6 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
301 ) 293 )
302 modules.append(edje_ext) 294 modules.append(edje_ext)
303 295
304 # compatibility
305 packages.append("edje")
306 package_dirs["edje"] = "compat/edje"
307
308 # --- Edje_Edit --- 296 # --- Edje_Edit ---
309 edje_edit_ext = Extension( 297 edje_edit_ext = Extension(
310 "edje_edit", ["efl/edje/efl.edje_edit" + module_suffix], 298 "edje_edit", ["efl/edje/efl.edje_edit" + module_suffix],
@@ -327,10 +315,6 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
327 ) 315 )
328 modules.append(emotion_ext) 316 modules.append(emotion_ext)
329 317
330 # compatibility
331 packages.append("emotion")
332 package_dirs["emotion"] = "compat/emotion"
333
334 # === dbus mainloop integration === 318 # === dbus mainloop integration ===
335 dbus_cflags, dbus_libs = pkg_config('DBus', 'dbus-python', "0.83.0") 319 dbus_cflags, dbus_libs = pkg_config('DBus', 'dbus-python', "0.83.0")
336 dbus_ml_ext = Extension( 320 dbus_ml_ext = Extension(
@@ -342,10 +326,6 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
342 ) 326 )
343 modules.append(dbus_ml_ext) 327 modules.append(dbus_ml_ext)
344 328
345 # compatibility
346 packages.append("e_dbus")
347 package_dirs["e_dbus"] = "compat/e_dbus"
348
349 # === Elementary === 329 # === Elementary ===
350 elm_mods = ( 330 elm_mods = (
351 #"access", 331 #"access",
@@ -435,10 +415,6 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
435 415
436 packages.append("efl.elementary") 416 packages.append("efl.elementary")
437 417
438 # compatibility
439 packages.append("elementary")
440 package_dirs["elementary"] = "compat/elementary"
441
442 418
443setup( 419setup(
444 name="python-efl", 420 name="python-efl",
@@ -468,7 +444,7 @@ setup(
468 'release': ('setup.py', RELEASE) 444 'release': ('setup.py', RELEASE)
469 } 445 }
470 }, 446 },
471 package_dir=package_dirs, 447 #package_dir=package_dirs,
472 packages=packages, 448 packages=packages,
473 ext_package="efl", # The prefix for ext modules/packages 449 ext_package="efl", # The prefix for ext modules/packages
474 ext_modules=cythonize( 450 ext_modules=cythonize(