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
This file has been truncated.
from setuptools import setup, find_packages
version = '2.1.1'
long_description=open(os.path.join("docs", "source", "README.rst")).read() + "\n" +
open(os.path.join("docs", "source", "HISTORY.rst")).read(),
# Get more strings from
"Programming Language :: Python",
"Framework :: Plone",
"Framework :: Plone :: 4.3",
"Framework :: Plone :: 5.0",
"Framework :: Plone :: 5.1",
"Framework :: Zope2",
"Topic :: Software Development :: Libraries :: Python Modules",
you have to change the namespace package from:
setuptools finds the empty xmldirector namespace, which is a namespace package only and plonecore is a non-empty subpackage within it.