summarylogtreecommitdiffstats
path: root/__init__.py.template
diff options
context:
space:
mode:
authorClaudia2024-03-15 01:10:57 +0100
committerClaudia2024-03-15 01:13:27 +0100
commit18f511311e0847f4e311f836ed318f121bb29faa (patch)
tree1e9a90d47cdf2c9d055533bdbf842b8bd268e1c7 /__init__.py.template
parent7f8176f8ee0641a441218d92a8f9704ad6fbdf4c (diff)
downloadaur-18f511311e0847f4e311f836ed318f121bb29faa.tar.gz
Allow module import without PYTHONPATH manipulation
Diffstat (limited to '__init__.py.template')
-rw-r--r--__init__.py.template7
1 files changed, 7 insertions, 0 deletions
diff --git a/__init__.py.template b/__init__.py.template
new file mode 100644
index 000000000000..20045f71847b
--- /dev/null
+++ b/__init__.py.template
@@ -0,0 +1,7 @@
+"""Allow shrinko8 to work without exposing its top-level module
+names to the global module namespace."""
+
+import python_qualify
+python_qualify.enable_submodules(__name__)
+
+__version__ = '{{ pkgver }}'