author | Tero Marttila <tero.marttila@aalto.fi> |
Tue, 24 Feb 2015 17:48:42 +0200 | |
changeset 445 | fd7f1c2971da |
parent 444 | 4699b80f0a85 |
child 446 | 139b3a41b608 |
pvl/__init__.py | file | annotate | diff | comparison | revisions |
--- a/pvl/__init__.py Tue Feb 24 17:48:31 2015 +0200 +++ b/pvl/__init__.py Tue Feb 24 17:48:42 2015 +0200 @@ -1,3 +1,3 @@ -## Namespace package -# http://pythonhosted.org/distribute/setuptools.html#namespace-packages -__import__('pkg_resources').declare_namespace(__name__) +# namespace package +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__)