[Setup] When should I add new Products in "eggs" and "zcml" sections of buildout ?

Steve McMahon steve at dcn.org
Thu Oct 1 15:45:27 UTC 2009


Python packages that don't use the Zope Toolkit (aka Zope 3) don't need ZCML
slugs. That's why MySQL-python doesn't need it.

By the way, Plone 3.3 includes an autodiscovery mechanism. Once products add
the right magic phrases in setup.py, they won't need zcml section entries.

On Thu, Oct 1, 2009 at 5:54 AM, ida277 <ida277 at gmail.com> wrote:

>
> Hi,
>
> as far as I know this isssue is connected with the namespaces.
>
> In general all eggs should be registered in the zcml section, exept for
> those where the name also starts with "Products.", like in
> Products.LinguaPlone.
>
> Doesn't explain MYSQL_Python though...
>
> Fortunately usually it's documented in the docs.
>
> Hope that helps,
> Regads,
> Ida
>
>
> francoise wrote:
> >
> > Hi all,
> >
> > Some products are added only on the "eggs" section (Products.LinguaPlone,
> > MySQL-Python).
> >
> > Others products need to be also added to the "zcml" section (my
> developped
> > product, and apparently theme products).
> >
> > What is the logic for to know when I should add a product to the  "zcml"
> > section ? For themes only ?
> >
> > Regards
> >
>
> --
> View this message in context:
> http://n2.nabble.com/When-should-I-add-new-Products-in-eggs-and-zcml-sections-of-buildout-tp3747760p3748842.html
> Sent from the Installation, Setup, Upgrades mailing list archive at
> Nabble.com.
>
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plone.org/pipermail/setup/attachments/20091001/43cc32b8/attachment.htm


More information about the Setup mailing list