For a long time, the usual (and probably only) way to enhance Plone's content types was to subclass existing types or write new content types from scratch. Fortunately, those days are over now and the Plone4Artists products are a good example on how to enhance existing content types with a small effort. Let's have a look at the image enhancing product p4a.ploneimage
(http://pypi.python.org/pypi/p4a.ploneimage) now. The product is in an early development state, but the important features are available and stable. The version number of the product is 0.2.
We will add these packages as a dependency of our mm.enhance
package. Therefore, we add the following code to the setup.py
of mm.enhance
:
install_requires=[ 'setuptools', # -*- Extra requirements: -*- 'p4a.common', 'p4a.ploneimage', ],
This will include the two eggs, p4a.ploneimage
and p4a.common
, if we include our multimedia...