we now depend on `pkg_resources`

This commit is contained in:
Andreas Zeidler 2010-12-09 15:31:16 +00:00
parent 20f174ccac
commit 59401e695f
1 changed files with 1 additions and 7 deletions

View File

@ -1,7 +1 @@
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
from pkgutil import extend_path
__path__ = locals()['__path__'] # make pyflakes happy...
__path__ = extend_path(__path__, __name__)
__import__('pkg_resources').declare_namespace(__name__)