[Zope3-checkins] SVN: zope.testing/tags/2.0/src/zope/__init__.py
Namespace package boilerplate.
Tres Seaver
tseaver at palladion.com
Wed Apr 5 07:53:38 EDT 2006
Log message for revision 66513:
Namespace package boilerplate.
Changed:
U zope.testing/tags/2.0/src/zope/__init__.py
-=-
Modified: zope.testing/tags/2.0/src/zope/__init__.py
===================================================================
--- zope.testing/tags/2.0/src/zope/__init__.py 2006-04-05 11:52:19 UTC (rev 66512)
+++ zope.testing/tags/2.0/src/zope/__init__.py 2006-04-05 11:53:36 UTC (rev 66513)
@@ -1 +1,7 @@
-#
+# namespace package boilerplate
+try:
+ __import__('pkg_resources').declare_namespace(__name__)
+except ImportError, e:
+ from pkgutil import extend_path
+ __path__ = extend_path(__path__, __name__)
+
More information about the Zope3-Checkins
mailing list