Trac quick plugin template script
This is a template plugin, which generates a skeleton for a plugin for Trac. It is inspired by TracPluginTemplateScript.
This script generates a detailed plugin, providing:
- permission requestor
- navigation contributor
- templates provider
- request handler
- admin panel
- i18n support
- database access support
- database version upgrade support
- sample html templates
- sample documents
If you have any issues, create a new ticket.
Download the zipped source from here.
After the package is installed, the template should be listed among the options for paster:
$ paster create --list-templates Available templates: basic_package: A basic setuptools-enabled package paste_deploy: A web application deployed through paste.deploy trac_quick_plugin: Another paste template for a trac plugin, like TracPluginTemplateScript
To create a plugin called Foo (the class name of the Component will be FooPlugin by default), run:
$ paster create -t trac_quick_plugin Foo
paster will then ask you about details for the description, author name, and other details. You will then get a ready to deploy new plugin Foo that you may now deploy for test, edit and implement.