| 29 | == Installation |
| 30 | |
| 31 | Installation prerequisites: |
| 32 | * [http://pyyaml.org/wiki/PyYAML PyYAML] |
| 33 | * [http://labix.org/python-dateutil python-dateutil] |
| 34 | * [http://www.pythonware.com/products/pil/ Python Imaging library (PIL)] |
| 35 | * `arial.ttf` font; for example, on Ubuntu install the `msttcorefonts` package and set `font_file = /usr/share/fonts/truetype/msttcorefonts/arial.ttf`. |
| 36 | * [pypi:hashlib/20060408a hashlib], if using Python 2.4, and it is part of Python core in >= 2.5. |
| 37 | |
| 38 | Add the following to `trac.ini`: |
| 39 | |
| 40 | {{{#!ini |
| 41 | [gantt] |
| 42 | cache_dir = path/to/cache/dir |
| 43 | font_file = path/to/font/file |
| 44 | date_format = %m/%d/%Y |
| 45 | include_summary = true |
| 46 | show_opened = true |
| 47 | summary_length = 16 |
| 48 | use_creation_date = true |
| 49 | }}} |
| 50 | |
44 | | |
45 | | == Installation |
46 | | |
47 | | Installation prerequisites: |
48 | | * [http://pyyaml.org/wiki/PyYAML PyYAML] |
49 | | * [http://labix.org/python-dateutil python-dateutil] |
50 | | * [http://www.pythonware.com/products/pil/ Python Imaging library (PIL)] |
51 | | * `arial.ttf` font; for example, on Ubuntu install the `msttcorefonts` package and set `font_file = /usr/share/fonts/truetype/msttcorefonts/arial.ttf`. |
52 | | * [http://pypi.python.org/pypi/hashlib/20060408a hashlib], if using Python 2.4 (part of Python core in >= 2.5). |
53 | | |
54 | | Add the following to `trac.ini`: |
55 | | |
56 | | {{{#!ini |
57 | | [gantt] |
58 | | cache_dir = path/to/cache/dir |
59 | | font_file = path/to/font/file |
60 | | date_format = %m/%d/%Y |
61 | | include_summary = true |
62 | | show_opened = true |
63 | | summary_length = 16 |
64 | | use_creation_date = true |
65 | | }}} |