summaryrefslogtreecommitdiff
path: root/src/leap/__init__.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-08-29 22:50:58 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-08-29 22:50:58 -0400
commit3b7a763af94cdfefd80cd1101925f3b47749fd6f (patch)
tree51276e8548a7dd1b6d36cc6da15b41f06b958d1b /src/leap/__init__.py
parent0dd0b7f504c289191eaf974372421143b09dc7e5 (diff)
[pkg] declare leap namespace
Diffstat (limited to 'src/leap/__init__.py')
-rw-r--r--src/leap/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/__init__.py b/src/leap/__init__.py
new file mode 100644
index 0000000..f48ad10
--- /dev/null
+++ b/src/leap/__init__.py
@@ -0,0 +1,6 @@
+# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
+try:
+ __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+ from pkgutil import extend_path
+ __path__ = extend_path(__path__, __name__)