Mercurial > hg > buttercup
view buttercup/__init__.py @ 1:a11f1a148af0
add clwapp to deps; should also peg to anagram, but thats not a package yet
author | k0s <k0scist@gmail.com> |
---|---|
date | Fri, 26 Feb 2010 15:28:12 -0500 |
parents | 9661071dac87 |
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 """