[Checkins] SVN: Sandbox/philikon/zopeproject/trunk/ Cleaned up and enhanced the dependencies of the generated

Philipp von Weitershausen philikon at philikon.de
Sat Sep 15 12:40:53 EDT 2007


Log message for revision 79678:
  Cleaned up and enhanced the dependencies of the generated
  application.  It no longer depends on zope.app.securitypolicy, only
  the deployment (``site.zcml``) does.  Obsolete dependencies (and
  their include statements in ZCML) have been removed.
  ``zope.app.catalog`` and friends have been added as a convenience.
  
  

Changed:
  U   Sandbox/philikon/zopeproject/trunk/README.txt
  U   Sandbox/philikon/zopeproject/trunk/zopeproject/zope_app/setup.py_tmpl
  U   Sandbox/philikon/zopeproject/trunk/zopeproject/zope_app/src/+package+/configure.zcml_tmpl
  U   Sandbox/philikon/zopeproject/trunk/zopeproject/zope_deploy/buildout.cfg_tmpl
  U   Sandbox/philikon/zopeproject/trunk/zopeproject/zope_deploy/site.zcml_tmpl

-=-
Modified: Sandbox/philikon/zopeproject/trunk/README.txt
===================================================================
--- Sandbox/philikon/zopeproject/trunk/README.txt	2007-09-15 16:38:24 UTC (rev 79677)
+++ Sandbox/philikon/zopeproject/trunk/README.txt	2007-09-15 16:40:53 UTC (rev 79678)
@@ -345,6 +345,12 @@
   it is the same as the buildout default in
   ``~/.buidout/default.cfg``.
 
+* Cleaned up and enhanced the dependencies of the generated
+  application.  It no longer depends on zope.app.securitypolicy, only
+  the deployment (``site.zcml``) does.  Obsolete dependencies (and
+  their include statements in ZCML) have been removed.
+  ``zope.app.catalog`` and friends have been added as a convenience.
+
 0.3.2 (2007-07-17)
 ------------------
 

Modified: Sandbox/philikon/zopeproject/trunk/zopeproject/zope_app/setup.py_tmpl
===================================================================
--- Sandbox/philikon/zopeproject/trunk/zopeproject/zope_app/setup.py_tmpl	2007-09-15 16:38:24 UTC (rev 79677)
+++ Sandbox/philikon/zopeproject/trunk/zopeproject/zope_app/setup.py_tmpl	2007-09-15 16:40:53 UTC (rev 79678)
@@ -26,22 +26,22 @@
                         'ZODB3',
                         'ZConfig',
                         'zdaemon',
+                        'zope.publisher',
+                        'zope.traversing',
+                        'zope.app.wsgi>=3.4.0',
+                        'zope.app.appsetup',
+                        'zope.app.zcmlfiles',
+                        # The following packages aren't needed from the
+                        # beginning, but end up being used in most apps
                         'zope.annotation',
                         'zope.copypastemove',
-                        'zope.event',
                         'zope.formlib',
                         'zope.i18n',
-                        'zope.publisher',
-                        'zope.size',
-                        'zope.traversing',
-                        'zope.app.wsgi>=3.4.0',
-                        'zope.app.appsetup',
                         'zope.app.authentication',
-                        'zope.app.traversing',
-                        'zope.app.security',
-                        'zope.app.securitypolicy',
                         'zope.app.session',
-                        'zope.app.zcmlfiles',
+                        'zope.app.intid',
+                        'zope.app.keyreference',
+                        'zope.app.catalog',
                         ],
       entry_points = """
       [console_scripts]

Modified: Sandbox/philikon/zopeproject/trunk/zopeproject/zope_app/src/+package+/configure.zcml_tmpl
===================================================================
--- Sandbox/philikon/zopeproject/trunk/zopeproject/zope_app/src/+package+/configure.zcml_tmpl	2007-09-15 16:38:24 UTC (rev 79677)
+++ Sandbox/philikon/zopeproject/trunk/zopeproject/zope_app/src/+package+/configure.zcml_tmpl	2007-09-15 16:40:53 UTC (rev 79678)
@@ -2,22 +2,25 @@
            i18n_domain="${package}">
 
   <include package="zope.security" file="meta.zcml" />
-  <include package="zope.i18n" file="meta.zcml" />
-  <include package="zope.app.securitypolicy" file="meta.zcml" />
   <include package="zope.app.zcmlfiles" file="meta.zcml" />
 
+  <include package="zope.publisher" />
+  <include package="zope.traversing" />
+  <include package="zope.traversing.browser" />
+  <include package="zope.app.zcmlfiles" />
+
+  <!-- The following packages aren't needed from the beginning, but
+       end up being used in most applications -->
+  <include package="zope.i18n" file="meta.zcml" />
   <include package="zope.annotation" />
   <include package="zope.copypastemove" />
   <include package="zope.formlib" />
   <include package="zope.i18n.locales" />
-  <include package="zope.publisher" />
-  <include package="zope.size" />
-  <include package="zope.traversing" />
-  <include package="zope.traversing.browser" />
-  <include package="zope.app.zcmlfiles" />
-  <include package="zope.app.securitypolicy" />
   <include package="zope.app.authentication" />
   <include package="zope.app.session" />
+  <include package="zope.app.intid" />
+  <include package="zope.app.keyreference" />
+  <include package="zope.app.catalog" />
 
   <!-- Add your own component registrations here -->
 

Modified: Sandbox/philikon/zopeproject/trunk/zopeproject/zope_deploy/buildout.cfg_tmpl
===================================================================
--- Sandbox/philikon/zopeproject/trunk/zopeproject/zope_deploy/buildout.cfg_tmpl	2007-09-15 16:38:24 UTC (rev 79677)
+++ Sandbox/philikon/zopeproject/trunk/zopeproject/zope_deploy/buildout.cfg_tmpl	2007-09-15 16:40:53 UTC (rev 79678)
@@ -8,6 +8,7 @@
 [app]
 recipe = zc.recipe.egg
 eggs = ${egg}
+       zope.app.securitypolicy
        z3c.evalexception>=2.0
        Paste
        PasteScript

Modified: Sandbox/philikon/zopeproject/trunk/zopeproject/zope_deploy/site.zcml_tmpl
===================================================================
--- Sandbox/philikon/zopeproject/trunk/zopeproject/zope_deploy/site.zcml_tmpl	2007-09-15 16:38:24 UTC (rev 79677)
+++ Sandbox/philikon/zopeproject/trunk/zopeproject/zope_deploy/site.zcml_tmpl	2007-09-15 16:40:53 UTC (rev 79678)
@@ -3,6 +3,8 @@
 
   <include package="${package}" />
 
+  <include package="zope.app.securitypolicy" file="meta.zcml" />
+  <include package="zope.app.securitypolicy" />
   <securityPolicy 
       component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
 



More information about the Checkins mailing list