Skip to content

Commit

Permalink
As 'setuptools' is a dependency 'pkg_resources' will be available alw…
Browse files Browse the repository at this point in the history
  • Loading branch information
baijum committed Mar 11, 2009
1 parent 4428c3c commit a1108f9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/zope/__init__.py
@@ -1,8 +1 @@
# this is a namespace package
try:
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)

__import__('pkg_resources').declare_namespace(__name__)

0 comments on commit a1108f9

Please sign in to comment.