Edgewall Software

Changes between Version 14 and Version 15 of TracDev/PluginDevelopment


Ignore:
Timestamp:
Nov 23, 2006, 9:58:25 PM (17 years ago)
Author:
Christopher Lenz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PluginDevelopment

    v14 v15  
    108108{{{
    109109$ cd /path/to/pluginsource
    110 $ python setup.py develop --install-dir=/path/to/projenv/plugins
     110$ python setup.py develop --multi-version --install-dir /path/to/projenv/plugins
    111111}}}
    112112
    113 You can omit the `--install-dir` argument to make the development version of your plugin available globally.
     113or the short version:
     114{{{
     115$ python setup.py develop -md /path/to/projenv/plugins
     116}}}
     117
     118You can omit the `--install-dir` and `--multi-version` arguments to make the development version of your plugin available globally.
    114119
    115120This will install an `.egg-link` file instead of the actual egg. That file is basically a link to the source directory of your plugin, so that Trac will always see the latest version of your code. In this case you will have to explicitly enable your plugin in the trac configuration as explained on TracPlugins.