InstallationPython » History » Version 1
S. Wrede, 06/28/2011 09:22 PM
1 | 1 | S. Wrede | h1. Installation of Python Implementation |
---|---|---|---|
2 | 1 | S. Wrede | |
3 | 1 | S. Wrede | h2. External Dependencies |
4 | 1 | S. Wrede | |
5 | 1 | S. Wrede | * install python setuptools and python-dev |
6 | 1 | S. Wrede | * spread-python (e.g. via GAR installer, sources can be downloaded here: http://www.spread.org/files/SpreadModule-1.5spread4.tgz, the version automatically installed by setuptools is NOT working!) |
7 | 1 | S. Wrede | * python-protobuf (via ubuntu package python-protobuf or protobuf sources) |
8 | 1 | S. Wrede | |
9 | 1 | S. Wrede | h2. Installation |
10 | 1 | S. Wrede | |
11 | 1 | S. Wrede | * get sources |
12 | 1 | S. Wrede | * edit setup.cfg and replace protocolroot with the path to the RSBPRobotocol files (e.g. protocolroot=${prefix}/share/rsbprotocol) |
13 | 1 | S. Wrede | |
14 | 1 | S. Wrede | <pre> |
15 | 1 | S. Wrede | export PYTHONPATH=$prefix/lib/python2.6/site-packages |
16 | 1 | S. Wrede | python setup.py build |
17 | 1 | S. Wrede | python setup.py install --prefix=$prefix |
18 | 1 | S. Wrede | </pre> |
19 | 1 | S. Wrede | |
20 | 1 | S. Wrede | Afterwards, @import rsb@ should be possible in a python shell. |