From 3f2d318ff0eb6653549f362c4c76cacda2230f1c Mon Sep 17 00:00:00 2001
From: Robert K <robertk@posteo.org>
Date: Mon, 16 Apr 2018 15:17:00 +0200
Subject: [PATCH] [bugfix] added missing __init__.py.

---
 python/dune/__init__.py | 1 +
 python/setup.py.in      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 python/dune/__init__.py

diff --git a/python/dune/__init__.py b/python/dune/__init__.py
new file mode 100644
index 00000000..de40ea7c
--- /dev/null
+++ b/python/dune/__init__.py
@@ -0,0 +1 @@
+__import__('pkg_resources').declare_namespace(__name__)
diff --git a/python/setup.py.in b/python/setup.py.in
index 6695a687..102aa9ad 100644
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
 setup(name="dune.femdg",
     namespace_packages=['dune'],
     description="Python lib for dune: dune-fem-dg header library",
-    version="${DUNE_PYTHON_VERSION}",
+    version="${DUNE_FEM_DG_VERSION}",
     author="Robert Kloefkorn, Andreas Dedner, Tobias Malkmus, Stefan Wierling (geb. Girke)",
     packages = find_packages(),
     zip_safe = 0,
-- 
GitLab