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:
parent
63f69a4039
commit
d98cd27107
3
setup.py
3
setup.py
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue