diff --git a/python/dumux/__init__.py b/python/dumux/__init__.py index de40ea7ca058e07a399acf61529d418c07eeee61..5284146ebf2bc6a26f50fefbe5ebb91a3ba91448 100644 --- a/python/dumux/__init__.py +++ b/python/dumux/__init__.py @@ -1 +1 @@ -__import__('pkg_resources').declare_namespace(__name__) +__import__("pkg_resources").declare_namespace(__name__) diff --git a/python/setup.py.in b/python/setup.py.in index b59c513c242be131aa68204d3bd85c45016279cd..970d78de29b51be6fba1af93e6b12acec5f4f350 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -1,12 +1,13 @@ from setuptools import setup, find_namespace_packages -setup(name="${ProjectName}", - description="${ProjectDescription}", - version="${ProjectVersionString}", - author="${ProjectAuthor}", - author_email="${ProjectMaintainerEmail}", - packages = find_namespace_packages(include=['dumux.*']), - zip_safe = 0, - package_data = {'': ['*.so']}, - install_requires = "${ProjectPythonRequires}".split(' ') +setup( + name="${ProjectName}", + description="${ProjectDescription}", + version="${ProjectVersionString}", + author="${ProjectAuthor}", + author_email="${ProjectMaintainerEmail}", + packages=find_namespace_packages(include=["dumux.*"]), + zip_safe=0, + package_data={"": ["*.so"]}, + install_requires="${ProjectPythonRequires}".split(" "), )