# HG changeset patch # User k0s # Date 1267199631 0 # Node ID 9661071dac875bc44b77e335cee10ec2d2c5941f initial commit of the buttercup flower; just a stub diff -r 000000000000 -r 9661071dac87 buttercup/__init__.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buttercup/__init__.py Fri Feb 26 15:53:51 2010 +0000 @@ -0,0 +1,23 @@ +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 + """ diff -r 000000000000 -r 9661071dac87 buttercup/template/README.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buttercup/template/README.txt Fri Feb 26 15:53:51 2010 +0000 @@ -0,0 +1,1 @@ +buttercup: paste template for creating instances of the buttercup flower website pattern diff -r 000000000000 -r 9661071dac87 buttercup/template/setup.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buttercup/template/setup.py Fri Feb 26 15:53:51 2010 +0000 @@ -0,0 +1,32 @@ +from setuptools import find_packages, setup + +version='0.0' + +setup(name=${repr(project)}, + version=version, + description="instance of the buttercup flower website pattern", + author='Jeff Hammel', + author_email='k0scist@gmail.com', + url='http://k0s.org', + keywords='', + license="", + packages=find_packages(exclude=['ez_setup', 'examples', 'tests*']), + include_package_data=True, + install_requires = [ + 'PasteScript', + 'decoupage', + 'contenttransformer', + 'montage', + 'cropresize', + 'hgpaste', + 'wordstream', + 'bitsyblog', + 'bitsyauth', + ], + zip_safe=False, + entry_points = """ + [paste.paster_create_template] + buttercup = buttercup:buttercup + """, + ) + diff -r 000000000000 -r 9661071dac87 setup.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setup.py Fri Feb 26 15:53:51 2010 +0000 @@ -0,0 +1,22 @@ +from setuptools import find_packages, setup + +version='0.0' + +setup(name='buttercup', + version=version, + description="paste template for creating instances of the buttercup flower website pattern", + author='Jeff Hammel', + author_email='k0scist@gmail.com', + url='http://k0s.org', + keywords='trac plugin', + license="", + packages=find_packages(exclude=['ez_setup', 'examples', 'tests*']), + include_package_data=True, + install_requires = [ 'PasteScript' ], + zip_safe=False, + entry_points = """ + [paste.paster_create_template] + buttercup = buttercup:buttercup + """, + ) +