Mercurial > hg > buttercup
view buttercup/__init__.py @ 0:9661071dac87
initial commit of the buttercup flower; just a stub
author | k0s <k0scist@gmail.com> |
---|---|
date | Fri, 26 Feb 2010 15:53:51 +0000 |
parents | |
children | e6e80bf0476f |
line wrap: on
line source
from paste.script import templates var = templates.var class buttercup(templates.Template): _template_dir = 'template' summary = 'paste template for creating instances of the buttercup flower website pattern' vars = [ var('description', 'One-line description of the package'), var('author', 'Author name'), var('author_email', 'Author email'), var('url', 'URL of homepage'), ] def pre(self, command, output_dir, vars): """ called before the template is applied """ def post(self, command, output_dir, vars): """ called after the template is applied """