Hey,<div><br></div><div>These sound good to me, as long as they're off by default, have tests, and don't break existing behavior.</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">> <includeDependencies<br>
> package="."<br>> recursive="True"<br>> ignore="zope.app.zcmlfiles ice.control"<br>> /></div><div>></div><div>> This not include packages `zope.app.zcmlfiles` and `ice.control`, but</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8">> include their dependencies.<div><br></div><div>Does ignore="" work on namespaces, or exact package names? What would happen if you did ignore="zope" instead? Either way, could you add a test clarifying this behavior in dependency.txt?</div>
<div><br></div><div>> TODO:</div><meta http-equiv="content-type" content="text/html; charset=utf-8">> * Add ability for create "autoconfigure.zcml" file for decrease startup time.<div><br></div><div>You mean, a static ZCML file that contains all the <include> directives that z3c.autoinclude auto-includes, in the right order? This is very cool -- I'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"><<a href="mailto:cykooz@googlemail.com">cykooz@googlemail.com</a>></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>
"includeDependencies" and "includeDependenciesOverrides".<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>
<includeDependencies package="." recursive="True" /><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>
<includeDependencies<br>
package="."<br>
recursive="True"<br>
ignore="zope.app.zcmlfiles ice.control"<br>
/><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 "autoconfigure.zcml" 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>