Re: Products in Zope 2.12+

Baiju M <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Wed, Aug 4, 2010 at 2:33 PM, Charlie Clark
<[email protected]> wrote:
> Am 04.08.2010, 10:56 Uhr, schrieb Jens Vagelpohl <[email protected]>:
>
>> 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
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.