[Grok-dev] five.grok failure - 'Invalid value for', 'handler', 'ImportError: Module zope.app.component.metaconfigure has no global defaultLayer'

sylvain at infrae.com sylvain at infrae.com
Sat Nov 8 06:43:16 EST 2008


> I didn't read the code of z3c.autoinclude, but if I well understood,
> it does the following:
> Read install_requires dependencies in the order, and for each package
> it includes meta.zcml, configure.zcml and overrides.zcml if they
> exist.
> So I suppose in this case,
> five.grok in setup.py's install_requires
> and in configure.zcml
> <includeDependencies package="." />
> is equivalent to
> <include package="five.grok" file="meta.zcml" />
> <include package="five.grok" />
> But indeed, if you indicate explicitly grokcore.view in setup.py's
> install_requires, it will include meta.zcml, not meta-minimal.zcml.
> But I don't include grokcore.view in setup.py, only five.grok, so I
> think it's fine.

  I think so in that case, thanks for the clarification. I didn't known if
it was doing recursively or not. Seems not.

  Best regards,


More information about the Grok-dev mailing list