Daniel Nouri wrote:
Raphael Ritz writes:

Hedley Roos wrote:
I have a product on pypi (let's call it collective.myproduct) which
needs its overrides.zcml to be picked up by Zope, else it does not
appear as an extension profile.

I can get it to work by adding

zcml =
    collective.myproduct
    collective.myproduct-override

But that's how you are supposed to do it ;-)

If you don't like that (which I can understand) maybe

  http://pypi.python.org/pypi/z3c.autoinclude

might be something to consider (haven't tried it myself though)

Wouldn't something like

  <includeOverrides file="overrides.zcml" />

in Hedley's configure.zcml do what he wants?


as I understood the question he wants to get rid of the
zcml part entirely - not just the overrides bit.

I could be wrong of course.

Raphael




Daniel


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to