The return of the ZCML slug? zcml slug still needed?

I have the wild problem that my xmldirector.plonecore package does not appear as add-ons on the Plone add screen unless I add the package to the instance->zcml option of my buildout - both with Plone 4.3 + 5.0.

The entry point for the autoinclude plugin is present and the namespace_packages is also set correctly
(https://romanofskiat.wordpress.com/2012/09/25/z3c-autoinclude-does-not-automatically-include-a-plone-package/)

Thoughts?

-aj

you have to change the namespace package from:

  namespace_packages=['xmldirector', 'xmldirector.plonecore'],

to:

  namespace_packages=['xmldirector', ],

setuptools finds the empty xmldirector namespace, which is a namespace package only and plonecore is a non-empty subpackage within it. https://pythonhosted.org/setuptools/setuptools.html#namespace-packages

1 Like