On-disk theme products can be quite verbose, so we employ a program to generate the skeleton of ours. We'll then make a few clean-ups before moving on to making a visual impact.
To generate the empty shell of a theme, we'll use a code generation tool called paster
. A set of Zope- and Plone-specific code snippets, called ZopeSkel
, extends paster
to provide a sort of "madlibs for Plone", churning out skeletal products whose blanks we can fill in. Here's how to get a copy of paster
up and running:
1. Some installations of Plone come with
paster
andZopeSkel
; check thebin
folder in your buildout. Ifpaster
is in there, you're done; skip to the next section. If not, read on.2. Install
easy_install
, a simple Python installer, which we can use to installpaster
andZopeSkel
. Follow the platform-specific instructions on theeasy_install
download page: http://pypi.python.org/ pypi/setuptools.3. Use
easy_install
to installZopeSkel
, which also automatically...