[Zope-dev] Recursive search of dependencies in z3c.autoinclude

Cykooz cykooz at googlemail.com
Thu Apr 14 06:17:01 EDT 2011


2011/4/13 Ethan Jucovy <ethan.jucovy at gmail.com>:
> Does ignore="" work on namespaces, or exact package names?  What would
> happen if you did ignore="zope" instead?

Exact package names. But this good idea about namespaces. I release it later.

>> TODO:
>> * Add ability for create "autoconfigure.zcml" file for decrease startup
>> time.
> 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.

I did this in the latest version. See repository
https://bitbucket.org/cykooz/z3c.autoinclude
Example:
<includeDependencies
   package="."
   recursive="True"
   ignore="zope.app.zcmlfiles ice.control"
   cachefile="auto_configure.zcml"
/>
<includeDependenciesOverrides
   package="."
   recursive="True"
   ignore="zope.app.zcmlfiles ice.control"
   cachefile="auto_overrides.zcml"
/>

Later I'll write code to verify the need to update the cache.

> 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.

Ok. I do this.

> Do you have commit rights to merge these?

No, I do not have commit rights.


More information about the Zope-Dev mailing list