diff --git a/python/dumux/__init__.py b/python/dumux/__init__.py index bb4c6ae25606e22f49e4e73de4426d1721d0e5d3..3a80e76b6c2db2583417c7356926a1daf3da998e 100644 --- a/python/dumux/__init__.py +++ b/python/dumux/__init__.py @@ -9,5 +9,3 @@ DuMux is https://dumux.org/ """ - -__import__("pkg_resources").declare_namespace(__name__) diff --git a/python/setup.py.in b/python/setup.py.in index 970d78de29b51be6fba1af93e6b12acec5f4f350..5287131d00eaa339a8aa6ee982b350024f15315e 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -1,4 +1,4 @@ -from setuptools import setup, find_namespace_packages +from setuptools import setup setup( name="${ProjectName}", @@ -6,7 +6,7 @@ setup( version="${ProjectVersionString}", author="${ProjectAuthor}", author_email="${ProjectMaintainerEmail}", - packages=find_namespace_packages(include=["dumux.*"]), + packages=["dumux"], zip_safe=0, package_data={"": ["*.so"]}, install_requires="${ProjectPythonRequires}".split(" "),