[Zope-Checkins] SVN: Zope/branches/2.12/ Backported c114405 from trunk

Hanno Schlichting hannosch at hannosch.eu
Fri Jul 9 16:30:53 EDT 2010


Log message for revision 114431:
  Backported c114405 from trunk
  

Changed:
  U   Zope/branches/2.12/doc/CHANGES.rst
  U   Zope/branches/2.12/setup.py
  U   Zope/branches/2.12/src/Shared/DC/__init__.py
  U   Zope/branches/2.12/src/Shared/__init__.py

-=-
Modified: Zope/branches/2.12/doc/CHANGES.rst
===================================================================
--- Zope/branches/2.12/doc/CHANGES.rst	2010-07-09 20:27:18 UTC (rev 114430)
+++ Zope/branches/2.12/doc/CHANGES.rst	2010-07-09 20:30:53 UTC (rev 114431)
@@ -19,7 +19,11 @@
   attribute in the browser:view directive. This attribute has never been
   supported in Zope 2.
 
+Features Added
+++++++++++++++
 
+- Made both `Shared` and `Shared.DC` namespace packages.
+
 2.12.8 (2010-06-25)
 -------------------
 

Modified: Zope/branches/2.12/setup.py
===================================================================
--- Zope/branches/2.12/setup.py	2010-07-09 20:27:18 UTC (rev 114430)
+++ Zope/branches/2.12/setup.py	2010-07-09 20:30:53 UTC (rev 114431)
@@ -26,7 +26,7 @@
                      file(os.path.join("doc", "CHANGES.rst")).read(),
 
     packages=find_packages('src'),
-    namespace_packages=['Products'],
+    namespace_packages=['Products', 'Shared', 'Shared.DC'],
     package_dir={'': 'src'},
 
     ext_modules=[

Modified: Zope/branches/2.12/src/Shared/DC/__init__.py
===================================================================
--- Zope/branches/2.12/src/Shared/DC/__init__.py	2010-07-09 20:27:18 UTC (rev 114430)
+++ Zope/branches/2.12/src/Shared/DC/__init__.py	2010-07-09 20:30:53 UTC (rev 114431)
@@ -10,5 +10,4 @@
 # FOR A PARTICULAR PURPOSE
 #
 ##############################################################################
-__doc__='''$Id$'''
-__version__='$Revision: 1.9 $'[11:-2]
+__import__('pkg_resources').declare_namespace(__name__)

Modified: Zope/branches/2.12/src/Shared/__init__.py
===================================================================
--- Zope/branches/2.12/src/Shared/__init__.py	2010-07-09 20:27:18 UTC (rev 114430)
+++ Zope/branches/2.12/src/Shared/__init__.py	2010-07-09 20:30:53 UTC (rev 114431)
@@ -10,5 +10,4 @@
 # FOR A PARTICULAR PURPOSE
 #
 ##############################################################################
-__doc__='''$Id$'''
-__version__='$Revision: 1.7 $'[11:-2]
+__import__('pkg_resources').declare_namespace(__name__)



More information about the Zope-Checkins mailing list