Hanno Schlichting wrote:
> For a general Python package to be picked up, you would need to add a
> regular ZCML slug into the etc/package-includes directory of your
> instance.

What does a "regular ZCML slug" look like?

> If your package is a namespace package in the 'Products' namespace,
> then it will be picked up automatically, once added to the PYTHONPATH.

Is this setuptools namespace package magic making things work or is 
there explicit code in Zope that does this?

> This is triggered by the "five:loadProducts" and
> "five:loadProductsOverrides" directives in your instances site.zcml.
> The code for those directives is either in Products.Five or OFS
> depending on which version of Zope2 you use.

Thanks for this!


Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to