Changes between Version 1 and Version 2 of TracPlugins
- Timestamp:
- Jan 30, 2006, 11:09:12 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracPlugins
v1 v2 1 1 = Trac Plugins = 2 [[TracGuideToc]] 2 3 3 4 Since version 0.9, Trac supports plugins that extend the built-in functionality. The plugin functionality is based on the [http://projects.edgewall.com/trac/wiki/TracDev/ComponentArchitecture component architecture]. … … 5 6 == Requirements == 6 7 7 To use plugins in Trac, you need to have [http://peak.telecommunity.com/DevCenter/setuptools setuptools] (version 0. 5 or 0.6) installed.8 To use plugins in Trac, you need to have [http://peak.telecommunity.com/DevCenter/setuptools setuptools] (version 0.6) installed. 8 9 9 10 To install `setuptools`, download the bootstrap module [http://peak.telecommunity.com/dist/ez_setup.py ez_setup.py] and execute it as follows: … … 34 35 35 36 Alternatively, you can just drop the `.egg` file in the Python `site-packages` directory. 37 38 Unlike plugins installed per-environment, you'll have to explicitly enable globally installed plugins via [wiki:TracIni trac.ini]. This is done in the `[components]` section of the configuration file, for example: 39 {{{ 40 [components] 41 webadmin.* = enabled 42 }}} 43 44 The name of the option is the Python package of the plugin. This should be specified in the documentation of the Plugin, but can also be easily find out by looking at the source (look for a top-level directory that contains a file named `__init__.py`.) 36 45 37 46 == Setting up the Plugin Cache == … … 66 75 67 76 ---- 68 See also TracGuide, [ wiki:TracDev/ComponentArchitecture component architecture]77 See also TracGuide, [http://projects.edgewall.com/trac/wiki/PluginList plugin list], [http://projects.edgewall.com/trac/wiki/TracDev/ComponentArchitecture component architecture]