[CMF-checkins] SVN: CMF/trunk/__init__.py - added support fo…

Top Page

Reply to this message
Author: Yvo Schubbe
Date:  
To: Checkins, cmf-checkins
CC: 
Subject: [CMF-checkins] SVN: CMF/trunk/__init__.py - added support for using the CMF checkout as Products namespace package
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


_______________________________________________
CMF-checkins mailing list
CMF-checkins@???
http://mail.zope.org/mailman/listinfo/cmf-checkins