~ztk-steering-group/zope.size/trunk

« back to all changes in this revision

Viewing changes to src/zope/__init__.py

  • Committer: baijum
  • Date: 2009-03-11 16:31:56 UTC
  • Revision ID: svn-v4:62d5b8a3-27da-0310-9561-8e5933582275:zope.size/trunk:97895
As 'setuptools' is a dependency 'pkg_resources' will be available always. Ref: http://mail.zope.org/pipermail/zope-dev/2009-March/035277.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
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__)
 
1
__import__('pkg_resources').declare_namespace(__name__)