summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-05-13 15:00:46 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-05-13 15:12:38 +0300
commitd98cd27107ce3588d8f84f4c90ae1f19f2840cbd (patch)
tree25c61083fcc8986d320eb5cd1c47085a8fd175c1
parent63f69a403903d398d637067441c496f7dc24545f (diff)
efl.ecore: Transform into a package
The old efl.ecore.so module renamed to __init__.so which gets automatically used for the package namespace when there is an empty __init__.py included.
-rw-r--r--efl/ecore/__init__.pxd (renamed from include/efl.ecore.pxd)0
-rw-r--r--efl/ecore/__init__.py0
-rw-r--r--efl/ecore/__init__.pyx (renamed from efl/ecore/efl.ecore.pyx)0
-rw-r--r--efl/ecore/enums.pxd (renamed from include/efl.ecore.enums.pxd)0
-rwxr-xr-xsetup.py3
5 files changed, 2 insertions, 1 deletions
diff --git a/include/efl.ecore.pxd b/efl/ecore/__init__.pxd
index 29758c1..29758c1 100644
--- a/include/efl.ecore.pxd
+++ b/efl/ecore/__init__.pxd
diff --git a/efl/ecore/__init__.py b/efl/ecore/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/efl/ecore/__init__.py
diff --git a/efl/ecore/efl.ecore.pyx b/efl/ecore/__init__.pyx
index 45fa24b..45fa24b 100644
--- a/efl/ecore/efl.ecore.pyx
+++ b/efl/ecore/__init__.pyx
diff --git a/include/efl.ecore.enums.pxd b/efl/ecore/enums.pxd
index 6732fa6..6732fa6 100644
--- a/include/efl.ecore.enums.pxd
+++ b/efl/ecore/enums.pxd
diff --git a/setup.py b/setup.py
index d1906e4..090070b 100755
--- a/setup.py
+++ b/setup.py
@@ -233,12 +233,13 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
233 ecore_file_cflags, ecore_file_libs = pkg_config( 233 ecore_file_cflags, ecore_file_libs = pkg_config(
234 'EcoreFile', 'ecore-file', EFL_MIN_VERSION) 234 'EcoreFile', 'ecore-file', EFL_MIN_VERSION)
235 ecore_ext = Extension( 235 ecore_ext = Extension(
236 "ecore", ["efl/ecore/efl.ecore" + module_suffix], 236 "ecore.__init__", ["efl/ecore/__init__" + module_suffix],
237 include_dirs=['include/'], 237 include_dirs=['include/'],
238 extra_compile_args=list(set(ecore_cflags + ecore_file_cflags)), 238 extra_compile_args=list(set(ecore_cflags + ecore_file_cflags)),
239 extra_link_args=ecore_libs + ecore_file_libs + eina_libs + evas_libs, 239 extra_link_args=ecore_libs + ecore_file_libs + eina_libs + evas_libs,
240 ) 240 )
241 modules.append(ecore_ext) 241 modules.append(ecore_ext)
242 packages.append("efl.ecore")
242 243
243 # compatibility 244 # compatibility
244 packages.append("ecore") 245 packages.append("ecore")