[Checkins] SVN: z3c.breadcrumb/trunk/src/z3c/__init__.py Added namespace info to z3c package __init__.py

Darryl Cousins darryl at darrylcousins.net.nz
Fri Jun 29 18:51:33 EDT 2007


Log message for revision 77256:
  Added namespace info to z3c package __init__.py

Changed:
  U   z3c.breadcrumb/trunk/src/z3c/__init__.py

-=-
Modified: z3c.breadcrumb/trunk/src/z3c/__init__.py
===================================================================
--- z3c.breadcrumb/trunk/src/z3c/__init__.py	2007-06-29 22:51:09 UTC (rev 77255)
+++ z3c.breadcrumb/trunk/src/z3c/__init__.py	2007-06-29 22:51:33 UTC (rev 77256)
@@ -1 +1,23 @@
+##############################################################################
 #
+# Copyright (c) 2006 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+$Id$
+"""
+try:
+    # Declare this a namespace package if pkg_resources is available.
+    import pkg_resources
+    pkg_resources.declare_namespace('z3c')
+except ImportError:
+    pass
+#



More information about the Checkins mailing list