-----BEGIN PGP SIGNED MESSAGE-----
On 8/4/10 10:52 , Hanno Schlichting wrote:
> On Wed, Aug 4, 2010 at 10:31 AM, Chris Withers <ch...@simplistix.co.uk> wrote:
>> I'm in the process of egg-ifying some Zope 2 Products of mine (first up
>> is MailTemplates) and I'm curious as to how add-in products work in an
>> egg-based Zope setup.
>> Do I need to include anything in zope.conf or some zcml somewhere?
> If your package is a namespace package in the 'Products' namespace,
> then it will be picked up automatically, once added to the PYTHONPATH.
In essence: If your egg is in the "Products" namespace you don't need to
do anything after adding it e.g. to the list of eggs for a Zope instance
in your buildout.cfg. The product will be recognized, installed, and any
configure.zcml in the root picked up automatically.
That's one reason I stick to that namespace for anything that is indeed
a Zope 2 Product.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
-----END PGP SIGNATURE-----
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -