| | 2 | |
|---|
| | 3 | Fetching Development Dependencies |
|---|
| | 4 | ================================= |
|---|
| | 5 | |
|---|
| | 6 | Gaphor uses Easy Install to manage in easy way its dependencies. |
|---|
| | 7 | |
|---|
| | 8 | To fetch and install dependencies as non-root user |
|---|
| | 9 | |
|---|
| | 10 | 1. Create ~/.pydistutils.cfg file |
|---|
| | 11 | |
|---|
| | 12 | [install] |
|---|
| | 13 | install_lib = ~/opt/share/python2.5/site-packages |
|---|
| | 14 | install_scripts = ~/opt/bin |
|---|
| | 15 | |
|---|
| | 16 | 2. Create (or extend) PYTHONPATH variable |
|---|
| | 17 | |
|---|
| | 18 | export PYTHONPATH=~/opt/share/python2.5/site-packages |
|---|
| | 19 | |
|---|
| | 20 | 3. Run setup.py script to fetch and install dependencies |
|---|
| | 21 | |
|---|
| | 22 | python setup.py develop |
|---|
| | 23 | |
|---|
| | 24 | Prefix ~/opt can be changed to something more suitable for your setup. |
|---|
| | 25 | |
|---|
| | 26 | |
|---|
| | 27 | Above is based on |
|---|
| | 28 | |
|---|
| | 29 | http://peak.telecommunity.com/DevCenter/EasyInstall#traditional-pythonpath-based-installation |
|---|
| | 30 | |
|---|