paste template to create a trac plugin skeleton

Description

this package enables the creation of a trac plugin skeleton for ease of starting developing a new plugin via a PasteScript Template. it doesn't provide much flesh....just putting the right entry point and getting names setup in the created files.

For more about PasteScript see http://pythonpaste.org/script/

Bugs/Feature Requests

Existing bugs and feature requests for TracPluginTemplateScript are here.

If you have any issues, create a new ticket.

This is a pretty bare-bones (pun intended) template. If anyone would like it to do more, please let me know. Patches encouraged!

Download

Download the zipped source from here.

Source

You can check out TracPluginTemplateScript from here using Subversion, or browse the source with Trac.

Example

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.

Recent Changes

[4389] by k0s on 10/06/08 17:33:16

include package_data by default, fixes #3777

[3943] by k0s on 07/03/08 19:51:54

initial import of pastescript template for a trac plugin

[3942] by k0s on 07/03/08 19:48:48

New hack TracPluginTemplateScript, created by k0s

Author/Contributors

Originally developed at The Open Planning Project

Author: k0s
Contributors: