Download this file

pastetemplate.py    17 lines (15 with data), 683 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
"""Definitions for TurboGears quickstart templates"""
from paste.script import templates
from tempita import paste_script_template_renderer
class ForgeAppTemplate(templates.Template):
"""
PyForge app tool paste template class
"""
_template_dir = 'pastetemplates/forgeapp'
template_renderer = staticmethod(paste_script_template_renderer)
summary = 'PyForge Quickstart Template'
egg_plugins = ['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools', 'allura']
vars = [
templates.var('tool_name', 'The name of the tool entry point'),
#templates.var('auth', 'use authentication and authorization support', default="sqlalchemy"),
]