[Checkins] SVN: zope.testing/trunk/src/zope/__init__.py As 'setuptools' is a dependency 'pkg_resources' will be available always. Ref: http://mail.zope.org/pipermail/zope-dev/2009-March/035277.html
Baiju M
baiju.m.mail at gmail.com
Wed Mar 11 12:32:43 EDT 2009
Log message for revision 97900:
As 'setuptools' is a dependency 'pkg_resources' will be available always. Ref: http://mail.zope.org/pipermail/zope-dev/2009-March/035277.html
Changed:
U zope.testing/trunk/src/zope/__init__.py
-=-
Modified: zope.testing/trunk/src/zope/__init__.py
===================================================================
--- zope.testing/trunk/src/zope/__init__.py 2009-03-11 16:32:34 UTC (rev 97899)
+++ zope.testing/trunk/src/zope/__init__.py 2009-03-11 16:32:43 UTC (rev 97900)
@@ -1,7 +1 @@
-# namespace package boilerplate
-try:
- __import__('pkg_resources').declare_namespace(__name__)
-except ImportError, e:
- from pkgutil import extend_path
- __path__ = extend_path(__path__, __name__)
-
+__import__('pkg_resources').declare_namespace(__name__)
More information about the Checkins
mailing list