Re: Products in Zope 2.12+

"Charlie Clark" <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Organization Clark Consulting & Research
Message-ID <[email protected]>
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.

Hope this idiot's guide helps.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
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.