diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-08-29 22:50:58 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-08-29 22:50:58 -0400 |
commit | 3b7a763af94cdfefd80cd1101925f3b47749fd6f (patch) | |
tree | 51276e8548a7dd1b6d36cc6da15b41f06b958d1b | |
parent | 0dd0b7f504c289191eaf974372421143b09dc7e5 (diff) |
[pkg] declare leap namespace
-rw-r--r-- | src/leap/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/__init__.py b/src/leap/__init__.py new file mode 100644 index 00000000..f48ad105 --- /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__) |