summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-11-16 20:45:07 +0100
committerDave Andreoli <dave@gurumeditation.it>2015-11-16 20:45:07 +0100
commiteaf31100891e631e5d9dd0a713003b6d70178650 (patch)
tree04fd95a407e696bbd3fb0434440d99d07785953d /setup.py
parentf01ac0788eeb8c5b54b6df31df0def9d4d71f4c3 (diff)
A new ecore module: ecore_con
It's now super easy to perform various network task in a full efl fashion. Implemented "Lookup" for dns query and "Url" to perform http requests. "Server" will come soon. Comes with quite complete docs, examples and unit tests
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py18
1 files changed, 16 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 5a3c6d2..36a50ee 100755
--- a/setup.py
+++ b/setup.py
@@ -110,8 +110,9 @@ class CleanGenerated(Command):
110 pass 110 pass
111 111
112 def run(self): 112 def run(self):
113 for lib in ("eo", "evas", "ecore", "ecore_x", "edje", "emotion", 113 for lib in ("eo", "evas", "ecore", "ecore_x", "ecore_con", "edje",
114 "elementary", "ethumb", "dbus_mainloop", "utils"): 114 "emotion", "elementary", "ethumb", "dbus_mainloop",
115 "utils"):
115 lib_path = os.path.join(script_path, "efl", lib) 116 lib_path = os.path.join(script_path, "efl", lib)
116 for root, dirs, files in os.walk(lib_path): 117 for root, dirs, files in os.walk(lib_path):
117 for f in files: 118 for f in files:
@@ -307,6 +308,19 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
307 eina_libs + evas_libs) 308 eina_libs + evas_libs)
308 ext_modules.append(ecore_ext) 309 ext_modules.append(ecore_ext)
309 310
311 # === Ecore Con ===
312 ecore_con_cflags, ecore_con_libs = pkg_config('EcoreCon', 'ecore-con',
313 EFL_MIN_VER)
314 ecore_con_ext = Extension("ecore_con",
315 ["efl/ecore_con/efl.ecore_con" + module_suffix],
316 include_dirs=['include/'],
317 extra_compile_args=list(set(ecore_cflags +
318 ecore_file_cflags +
319 ecore_con_cflags)),
320 extra_link_args=ecore_libs + ecore_file_libs +
321 ecore_con_libs + eina_libs)
322 ext_modules.append(ecore_con_ext)
323
310 # === Ecore X === 324 # === Ecore X ===
311 try: 325 try:
312 ecore_input_cflags, ecore_input_libs = pkg_config('EcoreInput', 326 ecore_input_cflags, ecore_input_libs = pkg_config('EcoreInput',