26 | | You can install this software as normal Trac plugin. |
27 | | |
28 | | 1. Uninstall Trac Image SVG macro if you have installed before. |
29 | | |
30 | | 2. Change to the directory containning setup.py. |
31 | | |
32 | | 3. If you want to install this plugin globally, that will install this plugin to the python path: |
33 | | * python setup.py install |
34 | | |
35 | | 4. If you want to install this plugin to trac instance only: |
36 | | * python setup.py bdist_egg |
37 | | * copy the generated egg file to the trac instance's plugin directory |
38 | | {{{ |
39 | | cp dist/*.egg /srv/trac/env/plugins |
40 | | }}} |
41 | | |
42 | | 5. Config trac.ini: |
43 | | {{{ |
44 | | [components] |
45 | | imagesvg.* = enabled |
46 | | }}} |
47 | | |
48 | | 6. copy !ImageSvg.py to trac environment wiki-macros directory |
49 | | {{{ |
50 | | cp wiki-macros/ImageSvg.py /srv/trac/env/wiki-macros |
51 | | }}} |
| 26 | * For trac 0.10, please see: [http://trac-hacks.org/browser/tracimagesvgmacro/0.10/imagesvg/readme.txt here] |
| 27 | * For trac 0.11, please see: [http://trac-hacks.org/browser/tracimagesvgmacro/0.11/imagesvg/readme.txt here] |