Paste template to create a Trac plugin skeleton
This package enables the creation of a Trac plugin skeleton for ease of starting developing a new plugin via a PasteScript template.
If you have any issues, create a new ticket.
Patches encouraged! If you want to submit patches, please read the patch submission guidelines.
1 / 1
Download the zipped source from here.
General instructions on installing Trac plugins can be found on the TracPlugins page.
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_plugin: a plugin skeleton for trac
To create a plugin called Foo (the class name of the Component will be FooPlugin by default), run:
$ paster create -t trac_plugin Foo
paster will then ask you about details for the description, author name, and other details. You will then have a skeleton for your new plugin Foo that you may now edit and implement.
Originally developed at The Open Planning Project