changeset 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 a11f1a148af0
files buttercup/__init__.py buttercup/template/README.txt buttercup/template/setup.py setup.py
diffstat 4 files changed, 78 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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
+        """
--- /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
--- /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
+      """,
+      )
+
--- /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
+      """,
+      )
+