[Checkins] SVN: zc.vault/trunk/src/zc/__init__.py add namespace
package boilerplate
Fred L. Drake, Jr.
fdrake at gmail.com
Tue Aug 29 11:41:26 EDT 2006
Log message for revision 69858:
add namespace package boilerplate
Changed:
A zc.vault/trunk/src/zc/__init__.py
-=-
Added: zc.vault/trunk/src/zc/__init__.py
===================================================================
--- zc.vault/trunk/src/zc/__init__.py 2006-08-29 15:41:13 UTC (rev 69857)
+++ zc.vault/trunk/src/zc/__init__.py 2006-08-29 15:41:25 UTC (rev 69858)
@@ -0,0 +1,7 @@
+# this is a namespace package
+try:
+ import pkg_resources
+ pkg_resources.declare_namespace(__name__)
+except ImportError:
+ import pkgutil
+ __path__ = pkgutil.extend_path(__path__, __name__)
Property changes on: zc.vault/trunk/src/zc/__init__.py
___________________________________________________________________
Name: svn:mime-type
+ text/x-python
Name: svn:eol-style
+ native
More information about the Checkins
mailing list