summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-01-08 22:18:49 +0100
committerDave Andreoli <dave@gurumeditation.it>2016-01-08 22:18:49 +0100
commitf3e6315413e84fedc08cee4478c5784cd47cd163 (patch)
tree8458cc776bd2370e5d04f1d2d52220580b1bb563 /setup.py
parent592467c7bdf3df32621057a500bd4436648fe1b7 (diff)
Add a new module: ecore_input
as always with docs and example
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py17
1 files changed, 14 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index f29884e..2cff90f 100755
--- a/setup.py
+++ b/setup.py
@@ -308,6 +308,20 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
308 eina_libs + evas_libs) 308 eina_libs + evas_libs)
309 ext_modules.append(ecore_ext) 309 ext_modules.append(ecore_ext)
310 310
311 # === Ecore Input ===
312 ecore_input_cflags, ecore_input_libs = pkg_config('EcoreInput',
313 'ecore-input',
314 EFL_MIN_VER)
315 ecore_input_ext = Extension("ecore_input",
316 ["efl/ecore_input/efl.ecore_input" + module_suffix],
317 include_dirs=['include/'],
318 extra_compile_args=list(set(ecore_cflags +
319 ecore_file_cflags +
320 ecore_input_cflags)),
321 extra_link_args=ecore_libs + ecore_file_libs +
322 ecore_input_libs)
323 ext_modules.append(ecore_input_ext)
324
311 # === Ecore Con === 325 # === Ecore Con ===
312 ecore_con_cflags, ecore_con_libs = pkg_config('EcoreCon', 'ecore-con', 326 ecore_con_cflags, ecore_con_libs = pkg_config('EcoreCon', 'ecore-con',
313 EFL_MIN_VER) 327 EFL_MIN_VER)
@@ -323,9 +337,6 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
323 337
324 # === Ecore X === 338 # === Ecore X ===
325 try: 339 try:
326 ecore_input_cflags, ecore_input_libs = pkg_config('EcoreInput',
327 'ecore-input',
328 EFL_MIN_VER)
329 ecore_x_cflags, ecore_x_libs = pkg_config('EcoreX', 'ecore-x', 340 ecore_x_cflags, ecore_x_libs = pkg_config('EcoreX', 'ecore-x',
330 EFL_MIN_VER) 341 EFL_MIN_VER)
331 except SystemExit: 342 except SystemExit: