changeset 72 | 2d2494132e9c |
parent 5 | 23371d26fdd0 |
--- a/pvl/__init__.py Sat Feb 16 22:53:00 2013 +0200 +++ b/pvl/__init__.py Mon Apr 22 00:36:14 2013 +0300 @@ -1,7 +1,3 @@ -# Namespace package -# http://docs.python.org/library/pkgutil.html#pkgutil.extend_path - -from pkgutil import extend_path - -# magic to support further pvl.foo packages -__path__ == extend_path(__path__, __name__) +## Namespace package +# http://pythonhosted.org/distribute/setuptools.html#namespace-packages +__import__('pkg_resources').declare_namespace(__name__)