Our new content types will be contained in a new package, called
optilux.cinemacontent. As before, we will create a skeleton using Paste Script and register the new package with our project’s buildout environment. In the
src/ directory, we run the following command:
$ paster create -t plone optilux.cinemacontent
As before, we use
optilux as the namespace of the package and
cinemacontent as the package name. We must also remember to answer
True to the question, whether we want a Zope 2 product. This is because Archetypes’ content type registration code should be run during product initialization.
We must then inform our build environment of the new package. Add the following to
[buildout] ... develop = src/optilux.policy ...