Recursive search of dependencies in z3c.autoinclude

Cykooz <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Hi,
I release z3c.autoinclude with a lot of attributes for directives
"includeDependencies" and "includeDependenciesOverrides".
Mercurial repository with my fork -
https://bitbucket.org/cykooz/z3c.autoinclude.

Recursive search of dependencies
--------------------------------

 <includeDependencies package="." recursive="True" />

This looks up and includes all respective ZCML files of packages you
declared to depend on in setup.py.
This works recursive so that if packages in your setup.py depend on
others the latters are looked up too
and so on (and everything in the right order).

Disabling autoinclude some packages
-----------------------------------

 <includeDependencies
   package="."
   recursive="True"
   ignore="zope.app.zcmlfiles ice.control"
 />

This not include packages `zope.app.zcmlfiles` and `ice.control`, but
include their dependencies.

TODO:
* Add ability for create "autoconfigure.zcml" file for decrease startup time.

PS:
I would be glad if my changes will merge with main branch.
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.