[Checkins] SVN: grokproject/trunk/ Automatically generate autoinclude directive.

Martijn Faassen faassen at infrae.com
Mon Feb 25 13:45:43 EST 2008


Log message for revision 84234:
  Automatically generate autoinclude directive.
  

Changed:
  U   grokproject/trunk/CHANGES.txt
  U   grokproject/trunk/grokproject/template/src/+package+/configure.zcml

-=-
Modified: grokproject/trunk/CHANGES.txt
===================================================================
--- grokproject/trunk/CHANGES.txt	2008-02-25 18:42:42 UTC (rev 84233)
+++ grokproject/trunk/CHANGES.txt	2008-02-25 18:45:43 UTC (rev 84234)
@@ -14,6 +14,12 @@
 * Fix https://bugs.launchpad.net/bugs/161947: The buildout.cfg
   template contained the [data] section twice.
 
+* Generate ``<autoinclude package="." />`` statement by default. If
+  new dependencies are added to ``setup.py`` that need ZCML, the ZCML
+  will be automatically loaded. (Depends on a new release of Grok with
+  z3c.autoinclude)
+
+
 0.6 (2007-10-10)
 ----------------
 

Modified: grokproject/trunk/grokproject/template/src/+package+/configure.zcml
===================================================================
--- grokproject/trunk/grokproject/template/src/+package+/configure.zcml	2008-02-25 18:42:42 UTC (rev 84233)
+++ grokproject/trunk/grokproject/template/src/+package+/configure.zcml	2008-02-25 18:45:43 UTC (rev 84234)
@@ -1,5 +1,6 @@
 <configure xmlns="http://namespaces.zope.org/zope"
            xmlns:grok="http://namespaces.zope.org/grok">
   <include package="grok" />
+  <autoinclude package="." />
   <grok:grok package="." />
 </configure>



More information about the Checkins mailing list