Derek Jones | 8ede1a2 | 2011-10-05 13:34:52 -0500 | [diff] [blame] | 1 | To install the CodeIgniter Lexer to Pygments, run: |
| 2 | |
| 3 | sudo python setup.py install |
| 4 | |
| 5 | Confirm with |
| 6 | |
| 7 | pygmentize -L |
| 8 | |
| 9 | |
| 10 | You should see in the lexer output: |
| 11 | |
| 12 | * ci, codeigniter: |
| 13 | CodeIgniter (filenames *.html, *.css, *.php, *.xml, *.static) |
| 14 | |
| 15 | You will need to run setup.py and install the cilexer package anytime after cilexer/cilexer.py is updated |
| 16 | |
| 17 | NOTE: Depending on how you installed Sphinx and Pygments, |
| 18 | you may be installing to the wrong version. |
| 19 | If you need to install to a different version of python |
| 20 | specify its path when using setup.py, e.g.: |
| 21 | |
| 22 | sudo /usr/bin/python2.5 setup.py install |