Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
bc85175d
Commit
bc85175d
authored
3 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/dumux/__init__.py
+0
-2
0 additions, 2 deletions
python/dumux/__init__.py
python/setup.py.in
+2
-2
2 additions, 2 deletions
python/setup.py.in
with
2 additions
and
4 deletions
python/dumux/__init__.py
+
0
−
2
View file @
bc85175d
...
@@ -9,5 +9,3 @@ DuMux is
...
@@ -9,5 +9,3 @@ DuMux is
https://dumux.org/
https://dumux.org/
"""
"""
__import__
(
"
pkg_resources
"
).
declare_namespace
(
__name__
)
This diff is collapsed.
Click to expand it.
python/setup.py.in
+
2
−
2
View file @
bc85175d
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(" "),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment