Skip to content
Snippets Groups Projects
Commit bc85175d authored by Timo Koch's avatar Timo Koch
Browse files

[python] Dumux is not a namespace package

parent 16e64f1f
No related branches found
No related tags found
1 merge request!2934[python] Make bindings work with dune 2.9
...@@ -9,5 +9,3 @@ DuMux is ...@@ -9,5 +9,3 @@ DuMux is
https://dumux.org/ https://dumux.org/
""" """
__import__("pkg_resources").declare_namespace(__name__)
from setuptools import setup, find_namespace_packages from setuptools import setup
setup( setup(
name="${ProjectName}", name="${ProjectName}",
...@@ -6,7 +6,7 @@ setup( ...@@ -6,7 +6,7 @@ setup(
version="${ProjectVersionString}", version="${ProjectVersionString}",
author="${ProjectAuthor}", author="${ProjectAuthor}",
author_email="${ProjectMaintainerEmail}", author_email="${ProjectMaintainerEmail}",
packages=find_namespace_packages(include=["dumux.*"]), packages=["dumux"],
zip_safe=0, zip_safe=0,
package_data={"": ["*.so"]}, package_data={"": ["*.so"]},
install_requires="${ProjectPythonRequires}".split(" "), install_requires="${ProjectPythonRequires}".split(" "),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment