changeset 72 | 2d2494132e9c |
parent 5 | 23371d26fdd0 |
71:6f9f59b5c4c5 | 72:2d2494132e9c |
---|---|
1 # Namespace package |
1 ## Namespace package |
2 # http://docs.python.org/library/pkgutil.html#pkgutil.extend_path |
2 # http://pythonhosted.org/distribute/setuptools.html#namespace-packages |
3 |
3 __import__('pkg_resources').declare_namespace(__name__) |
4 from pkgutil import extend_path |
|
5 |
|
6 # magic to support further pvl.foo packages |
|
7 __path__ == extend_path(__path__, __name__) |