| 1 | = paste template to create a trac plugin skeleton = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | 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 up in the created files |
| 6 | |
| 7 | == Bugs/Feature Requests == |
| 8 | |
| 9 | Existing bugs and feature requests for TracPluginTemplateScript are |
| 10 | [report:9?COMPONENT=TracPluginTemplateScript here]. |
| 11 | |
| 12 | If you have any issues, create a |
| 13 | [http://trac-hacks.org/newticket?component=TracPluginTemplateScript&owner=k0s new ticket]. |
| 14 | |
| 15 | == Download == |
| 16 | |
| 17 | Download the zipped source from [download:tracplugintemplatescript here]. |
| 18 | |
| 19 | == Source == |
| 20 | |
| 21 | You can check out TracPluginTemplateScript from [http://trac-hacks.org/svn/tracplugintemplatescript here] using Subversion, or [source:tracplugintemplatescript browse the source] with Trac. |
| 22 | |
| 23 | == Example == |
| 24 | |
| 25 | After the package is installed, the template should be listed among the options for paster: |
| 26 | |
| 27 | {{{ |
| 28 | > paster create --list-templates |
| 29 | Available templates: |
| 30 | basic_package: A basic setuptools-enabled package |
| 31 | paste_deploy: A web application deployed through paste.deploy |
| 32 | trac_plugin: a plugin skeleton for trac |
| 33 | }}} |
| 34 | |
| 35 | To create a plugin called {{{Foo}}} (the class name of the Component will be {{{FooPlugin}}} by default), run: |
| 36 | |
| 37 | {{{ |
| 38 | > paster create -t trac_plugin Foo |
| 39 | }}} |
| 40 | |
| 41 | paster will then ask you about details for the description, author name, and other details. |
| 42 | |
| 43 | == Recent Changes == |
| 44 | |
| 45 | [[ChangeLog(tracplugintemplatescript, 3)]] |
| 46 | |
| 47 | == Author/Contributors == |
| 48 | |
| 49 | '''Author:''' [wiki:k0s] [[BR]] |
| 50 | '''Contributors:''' |