diff --git a/example/namespaces/package-core/setup.py b/example/namespaces/package-core/setup.py index bb31390..c7449bb 100644 --- a/example/namespaces/package-core/setup.py +++ b/example/namespaces/package-core/setup.py @@ -1,9 +1,9 @@ -from setuptools import setup, find_namespace_packages +from setuptools import setup kwargs = { "name" : "test-dso-nsp-core", "version" : "0.0.1", "install_requires" : [], - "packages" : find_namespace_packages(include = ["testnsp.testcore", "testnsp.testcore.*"]), + "packages" : ["testnsp", "testnsp.testcore"], } setup(**kwargs) diff --git a/example/namespaces/package-dso/setup.py b/example/namespaces/package-dso/setup.py index 430e2ba..ae4c48f 100644 --- a/example/namespaces/package-dso/setup.py +++ b/example/namespaces/package-dso/setup.py @@ -1,5 +1,4 @@ from setuptools_dso import DSO, Extension, setup -from setuptools import find_namespace_packages thedso = DSO ( "testnsp.testdso.thedso", ["testnsp/testdso/libtest.c"], @@ -14,7 +13,7 @@ "name" : "test-dso-nsp-dso", "version" : "0.0.1", "install_requires" : ["test-dso-nsp-core"], - "packages" : find_namespace_packages(include = ["testnsp.testdso", "testnsp.testdso.*"]), + "packages" : ["testnsp", "testnsp.testdso"], } setup(