Changes between Version 53 and Version 54 of DynamicFieldsPlugin
- Timestamp:
- May 4, 2020, 5:19:54 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DynamicFieldsPlugin
v53 v54 43 43 == Installation 44 44 45 1. Install the plugin after downloading and unzipping: 45 1. Install the plugin by one of the following methods: 46 a. From PyPI using `pip`: 46 47 {{{#!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. 57 1. Enable the plugin: 58 {{{#!ini 56 59 [components] 57 60 dynfields.* = enabled 58 61 }}} 59 62 60 63 You can alternatively use the Trac Web Admin GUI to enable any or all rules. 61 64 62 65 See the examples section [wiki:DynamicFieldsPlugin#Examples below] for how to specify rules. … … 249 252 Preparing 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: 250 253 {{{#!sh 251 cd dynamicfieldsplugin252 python ./setup.py bdist_egg254 $ cd dynamicfieldsplugin 255 $ python setup.py bdist_egg 253 256 }}} 254 257 … … 257 260 Only if you encounter message catalogs with translations marked 'fuzzy', including them would require special treatment, since automatic compilation trashes them by default. Walk through: 258 261 {{{#!sh 259 cd dynamicfieldsplugin260 python ./setup.py compile_catalog -f261 python ./setup.py bdist_egg262 $ cd dynamicfieldsplugin 263 $ python setup.py compile_catalog -f 264 $ python setup.py bdist_egg 262 265 }}} 263 266