[Product-Developers] Re: overrides.zcml in an egg
Raphael Ritz
r.ritz at biologie.hu-berlin.de
Tue Sep 30 15:04:25 UTC 2008
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)
Raphael
> to buildout.cfg and then doing ./bin/buildout -Nv, but I don't want
> those slugs there because I want it to be easy for other people to try
> the product.
>
> I notice that plone.app.form has an overrides.zcml, and
> plone.app.portlets-1.1.3 had one as well, and they both seem to work.
>
> How do I do this?
>
> Thanks
> Hedley
More information about the Product-Developers
mailing list