summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-05-07 21:33:14 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2015-05-07 22:37:48 +0300
commita1f36bb0738d7f9f3fc60e37b15386cf50caec11 (patch)
tree06d347ca5cc670939dd46f0f6459e3853c17d975 /setup.py
parentdba05cc1bae27eff5f31f2859f4edb4ffac88380 (diff)
Elm: Unify modules into a monolithic module
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py96
1 files changed, 10 insertions, 86 deletions
diff --git a/setup.py b/setup.py
index 9aaa607..9c7a3ca 100755
--- a/setup.py
+++ b/setup.py
@@ -381,93 +381,17 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
381 ext_modules.append(dbus_ml_ext) 381 ext_modules.append(dbus_ml_ext)
382 382
383 # === Elementary === 383 # === Elementary ===
384 elm_mods = (
385 #"access",
386 "actionslider",
387 "background",
388 "box",
389 "bubble",
390 "button",
391 "calendar_elm",
392 "check",
393 "clock",
394 "colorselector",
395 "configuration",
396 "conformant",
397 "ctxpopup",
398 "datetime_elm",
399 "dayselector",
400 "diskselector",
401 "entry",
402 "fileselector_button",
403 "fileselector_entry",
404 "fileselector",
405 "flip",
406 "flipselector",
407 "frame",
408 "general",
409 "gengrid",
410 "genlist",
411 "gesture_layer",
412 #"glview",
413 "grid",
414 "hover",
415 "hoversel",
416 "icon",
417 "image",
418 "index",
419 "innerwindow",
420 "label",
421 "layout_class",
422 "layout",
423 "list",
424 "mapbuf",
425 "map",
426 "menu",
427 "multibuttonentry",
428 "naviframe",
429 "need",
430 "notify",
431 "object_item",
432 "object",
433 "panel",
434 "panes",
435 "photocam",
436 "photo",
437 "plug",
438 "popup",
439 "progressbar",
440 "radio",
441 "scroller",
442 "segment_control",
443 "separator",
444 "slider",
445 "slideshow",
446 "spinner",
447 #"store",
448 "systray",
449 "table",
450 "theme",
451 "thumb",
452 "toolbar",
453 "transit",
454 "video",
455 "web",
456 "window",
457 )
458
459 elm_cflags, elm_libs = pkg_config('Elementary', 'elementary', ELM_MIN_VER) 384 elm_cflags, elm_libs = pkg_config('Elementary', 'elementary', ELM_MIN_VER)
460 for m in elm_mods: 385 e = Extension("elementary.__init__",
461 e = Extension("elementary." + m, 386 ["efl/elementary/__init__" + module_suffix],
462 ["efl/elementary/" + m + module_suffix], 387 define_macros=[
463 define_macros=[ 388 ('EFL_BETA_API_SUPPORT', 1),
464 ('EFL_BETA_API_SUPPORT', 1), 389 ('EFL_EO_API_SUPPORT', 1)
465 ('EFL_EO_API_SUPPORT', 1) 390 ],
466 ], 391 include_dirs=["include/"],
467 include_dirs=["include/"], 392 extra_compile_args=elm_cflags,
468 extra_compile_args=elm_cflags, 393 extra_link_args=elm_libs + eina_libs + eo_libs + evas_libs)
469 extra_link_args=elm_libs + eina_libs + eo_libs + evas_libs) 394 ext_modules.append(e)
470 ext_modules.append(e)
471 395
472 packages.append("efl.elementary") 396 packages.append("efl.elementary")
473 397