Hey,<div><br></div><div>These sound good to me, as long as they&#39;re off by default, have tests, and don&#39;t break existing behavior.</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">&gt; &lt;includeDependencies<br>

&gt; package=&quot;.&quot;<br>&gt; recursive=&quot;True&quot;<br>&gt; ignore=&quot;zope.app.zcmlfiles ice.control&quot;<br>&gt; /&gt;</div><div>&gt;</div><div>&gt; This not include packages `zope.app.zcmlfiles` and `ice.control`, but</div>

<meta http-equiv="content-type" content="text/html; charset=utf-8">&gt; include their dependencies.<div><br></div><div>Does ignore=&quot;&quot; work on namespaces, or exact package names?  What would happen if you did ignore=&quot;zope&quot; instead?  Either way, could you add a test clarifying this behavior in dependency.txt?</div>

<div><br></div><div>&gt; TODO:</div><meta http-equiv="content-type" content="text/html; charset=utf-8">&gt; * Add ability for create &quot;autoconfigure.zcml&quot; file for decrease startup time.<div><br></div><div>You mean, a static ZCML file that contains all the &lt;include&gt; directives that z3c.autoinclude auto-includes, in the right order?  This is very cool -- I&#39;ve always wanted to do this but never gotten around to it.</div>

<div><br></div><div>The version number in CHANGES.txt and setup.py should be changed to 0.4.0, not 0.3.5 -- these are all new features.</div><div><br></div><div>Do you have commit rights to merge these?</div><div><br></div>

<div>-Ethan</div><div><br></div><div>On Wed, Apr 6, 2011 at 3:28 PM, Cykooz <span dir="ltr">&lt;<a href="mailto:cykooz@googlemail.com">cykooz@googlemail.com</a>&gt;</span> wrote:</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
I release z3c.autoinclude with a lot of attributes for directives<br>
&quot;includeDependencies&quot; and &quot;includeDependenciesOverrides&quot;.<br>
Mercurial repository with my fork -<br>
<a href="https://bitbucket.org/cykooz/z3c.autoinclude" target="_blank">https://bitbucket.org/cykooz/z3c.autoinclude</a>.<br>
<br>
Recursive search of dependencies<br>
--------------------------------<br>
<br>
 &lt;includeDependencies package=&quot;.&quot; recursive=&quot;True&quot; /&gt;<br>
<br>
This looks up and includes all respective ZCML files of packages you<br>
declared to depend on in setup.py.<br>
This works recursive so that if packages in your setup.py depend on<br>
others the latters are looked up too<br>
and so on (and everything in the right order).<br>
<br>
Disabling autoinclude some packages<br>
-----------------------------------<br>
<br>
 &lt;includeDependencies<br>
   package=&quot;.&quot;<br>
   recursive=&quot;True&quot;<br>
   ignore=&quot;zope.app.zcmlfiles ice.control&quot;<br>
 /&gt;<br>
<br>
This not include packages `zope.app.zcmlfiles` and `ice.control`, but<br>
include their dependencies.<br>
<br>
TODO:<br>
* Add ability for create &quot;autoconfigure.zcml&quot; file for decrease startup time.<br>
<br>
PS:<br>
I would be glad if my changes will merge with main branch.<br>
_______________________________________________<br>
Zope-Dev maillist  -  <a href="mailto:Zope-Dev@zope.org">Zope-Dev@zope.org</a><br>
<a href="https://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">https://mail.zope.org/mailman/listinfo/zope-dev</a><br>
**  No cross posts or HTML encoding!  **<br>
(Related lists -<br>
 <a href="https://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">https://mail.zope.org/mailman/listinfo/zope-announce</a><br>
 <a href="https://mail.zope.org/mailman/listinfo/zope" target="_blank">https://mail.zope.org/mailman/listinfo/zope</a> )<br>
</blockquote></div><br></div>