wiki:TracPluginTemplateScript

Paste template to create a Trac skeleton plugin

Description

This package enables the creation of a Trac skeleton plugin for ease of starting developing a new plugin via a PasteScript template.

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

See also: TracQuickPluginTemplateScript

Bugs/Feature Requests

Existing bugs and feature requests for TracPluginTemplateScript are here.

If you have any issues, create a new ticket.

Patches encouraged! If you want to submit patches, please read the patch submission guidelines.

defect

1 / 1

Download

Download the zipped source from here.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

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

6953 by k0s on 2009-10-30 15:05:28
include package data, refs #3777
6394 by k0s on 2009-08-18 14:07:52
fixed typo, thanks rick!
4389 by k0s on 2008-10-06 15:33:16
include package_data by default, fixes #3777
(more)

Author/Contributors

Originally developed at The Open Planning Project

Author: k0s
Maintainer: Olemis Lang
Contributors: Olemis Lang

Last modified 8 years ago Last modified on Dec 30, 2016, 8:58:09 PM