Revision ee67b59c snf-ganeti-tools/synnefo/__init__.py
b/snf-ganeti-tools/synnefo/__init__.py | ||
---|---|---|
1 |
# this is a namespace package |
|
2 |
try: |
|
3 |
import pkg_resources |
|
4 |
pkg_resources.declare_namespace(__name__) |
|
5 |
except ImportError: |
|
6 |
import pkgutil |
|
7 |
__path__ = pkgutil.extend_path(__path__, __name__) |
Also available in: Unified diff