[Checkins] SVN: CMF/trunk/__init__.py - added support for using the CMF checkout as Products namespace package

Yvo Schubbe y.2008 at wcm-solutions.de
Mon Apr 28 10:35:56 EDT 2008


Log message for revision 85803:
  - added support for using the CMF checkout as Products namespace package

Changed:
  A   CMF/trunk/__init__.py

-=-
Added: CMF/trunk/__init__.py
===================================================================
--- CMF/trunk/__init__.py	                        (rev 0)
+++ CMF/trunk/__init__.py	2008-04-28 14:35:53 UTC (rev 85803)
@@ -0,0 +1,6 @@
+# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
+try:
+    __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+    from pkgutil import extend_path
+    __path__ = extend_path(__path__, __name__)


Property changes on: CMF/trunk/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native



More information about the Checkins mailing list