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.
This commit is contained in:
Kai Huuhko 2014-05-13 15:00:46 +03:00
parent 63f69a4039
commit d98cd27107
5 changed files with 2 additions and 1 deletions

0
efl/ecore/__init__.py Normal file
View File

View File

@ -233,12 +233,13 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
ecore_file_cflags, ecore_file_libs = pkg_config(
'EcoreFile', 'ecore-file', EFL_MIN_VERSION)
ecore_ext = Extension(
"ecore", ["efl/ecore/efl.ecore" + module_suffix],
"ecore.__init__", ["efl/ecore/__init__" + module_suffix],
include_dirs=['include/'],
extra_compile_args=list(set(ecore_cflags + ecore_file_cflags)),
extra_link_args=ecore_libs + ecore_file_libs + eina_libs + evas_libs,
)
modules.append(ecore_ext)
packages.append("efl.ecore")
# compatibility
packages.append("ecore")