Changes between Version 53 and Version 54 of DynamicFieldsPlugin


Ignore:
Timestamp:
May 4, 2020, 5:19:54 PM (4 years ago)
Author:
Ryan J Ollos
Comment:

Document install from PyPI.

Legend:

Unmodified
Added
Removed
Modified
  • DynamicFieldsPlugin

    v53 v54  
    4343== Installation
    4444
    45  1. Install the plugin after downloading and unzipping:
     451. Install the plugin by one of the following methods:
     46 a. From PyPI using `pip`:
    4647 {{{#!sh
    47 cd dynamicfieldsplugin/0.11
    48 sudo python setup.py bdist_egg
    49 sudo cp dist/TracDynamicFields*.egg /your/trac/location/plugins/
    50 }}}
    51 
    52  See TracPlugins for more installation details and options. You will likely need to restart Trac's web server after installation.
    53 
    54  2. Enable the plugin:
    55  {{{#!ini
     48$ pip install TracDynamicFields
     49}}}
     50 a. After downloading and unzipping:
     51 {{{#!sh
     52$ cd dynamicfieldsplugin/trunk
     53$ python setup.py bdist_egg
     54$ cp dist/TracDynamicFields*.egg /your/trac/location/plugins/
     55}}}
     56 See TracPlugins for more installation details and options. You will  likely need to restart Trac's web server after installation.
     571. Enable the plugin:
     58{{{#!ini
    5659[components]
    5760dynfields.* = enabled
    5861}}}
    5962
    60  You can alternatively use the Trac Web Admin GUI to enable any or all rules.
     63You can alternatively use the Trac Web Admin GUI to enable any or all rules.
    6164
    6265See the examples section [wiki:DynamicFieldsPlugin#Examples below] for how to specify rules.
     
    249252Preparing the plugin from source now requires the additional step of compiling message catalog files. As long as you stick to the message catalogs served with this plugin directly, there is still nothing special to be done. Just package your plugin from source the standard way:
    250253{{{#!sh
    251 cd dynamicfieldsplugin
    252 python ./setup.py bdist_egg
     254$ cd dynamicfieldsplugin
     255$ python setup.py bdist_egg
    253256}}}
    254257
     
    257260Only if you encounter message catalogs with translations marked 'fuzzy', including them would require special treatment, since automatic compilation trashes them by default. Walk through:
    258261{{{#!sh
    259 cd dynamicfieldsplugin
    260 python ./setup.py compile_catalog -f
    261 python ./setup.py bdist_egg
     262$ cd dynamicfieldsplugin
     263$ python setup.py compile_catalog -f
     264$ python setup.py bdist_egg
    262265}}}
    263266