On Wed, Aug 4, 2010 at 2:33 PM, Charlie Clark <charlie.clark@clark-consulting.eu> wrote:
Am 04.08.2010, 10:56 Uhr, schrieb Jens Vagelpohl <jens@dataflake.org>:
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.
ie. in buildout just putting eggs = Products.MailTemplates
should work fine. As will pip install Products.MailTemplates (just tested against Products.CMFDefault)
That's one reason I stick to that namespace for anything that is indeed a Zope 2 Product.
OTOH if you don't want to stick with Products. you will need to add something like
zcml = simplistix.MailTemplates to your instance configuration and you're good.
There is an assumption that plone.recipe.zope2instance [1] is used to create instances from Buildout. [1] http://pypi.python.org/pypi/plone.recipe.zope2instance Regards, Baiju M