Templer system extensions for plone add-on development
This package extends the functionality of the templer code generation system. It builds upon the functionality of templer.core, templer.buildout and templer.zope, and depends on those packages. This package provides basic support for creating plone add-ons. Included are templates for basic plone packages, nested namespace plone packages and archetypes plone packages.
Primary Documentation for the templer code generation system may be found in the Templer Manual on Read The Docs.
As with the parent package, templer.core, creating packages using templer.plone templates is accomplished by using the templer script. The script is invoked thus:
This will create a basic plone package skeleton.
Templer cannot coexist with ZopeSkel before version 3.0 in the same buildout or Python virtualenv. If you have previously installed ZopeSkel 2.x in your environment, uninstall it completely before using templer-based packages or ZopeSkel 3.
Otherwise you will encounter the following error when trying to create packages:
IOError: No egg-info directory found (looked in ./mycompany.content/./mycompany.content.egg-info, ./mycompany.content/bootstrap.py/mycompany.content.egg-info, ./mycompany.content/buildout.cfg/mycompany.content.egg-info, ./mycompany.content/CHANGES.txt/mycompany.content.egg-info, ./mycompany.content/CONTRIBUTORS.txt/mycompany.content.egg-info, ./mycompany.content/docs/mycompany.content.egg-info, ./mycompany.content/MANIFEST.in/mycompany.content.egg-info, ./mycompany.content/mycompany/mycompany.content.egg-info, ./mycompany.content/Paste-22.214.171.124-py2.6.egg/mycompany.content.egg-info, ./mycompany.content/PasteDeploy-1.5.0-py2.6.egg/mycompany.content.egg-info, ./mycompany.content/PasteScript-1.7.5-py2.6.egg/mycompany.content.egg-info, ./mycompany.content/README.txt/mycompany.content.egg-info, ./mycompany.content/setup.cfg/mycompany.content.egg-info, ./mycompany.content/setup.py/mycompany.content.egg-info, ./mycompany.content/src/mycompany.content.egg-info)
Before start using Templer
Remove ZopeSkel references in buildout.cfg
rm -rf eggs/ZopeSkel*
Cris Ewing, original author
Based on code from zopeskel, contributors to which include:
Add robot based functional tests as an option. [maikroeder]
More verbose test setup added. Compliant with PPD 4 and p.a.testing documentation. [timo]
Template for Tiles added. [timo]
Improve infrastructure created for testing plone packages [gotcha]
Add a buildout to the package to ease development of templer.plone [gotcha]
Improve README with links to source and tracker and compatibility warning about ZopeSkel 2.x [miohtama]
More package classifiers are included by default [hvelarde]
Development buildout extends test-4.x.cfg instead of plone-4.1.x.cfg; test part uses better default options [hvelarde]
Re-establish localcommand support for the archetype and plone templates [cewing]
Add support for optional localcommands [cewing]
Create new nested namespace plone package template, like zopeskel’s old plone_app template [cewing]
Improve the consistency of messaging across templates [cewing]
Ported archetype template and doctests from zopeskel [jjmojojjmojo]
Ported basic plone template and doctests from zopeskel [cewing]
Package created using templer [cewing]
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.