|
Revision 148, 0.9 kB
(checked in by LaurentPerrinet, 5 months ago)
|
howto set your fresh SVN copy in the path
|
| Line | |
|---|
| 1 |
NeuroTools Insallation: |
|---|
| 2 |
|
|---|
| 3 |
First download the package files: |
|---|
| 4 |
svn co https://neuralensemble.kip.uni-heidelberg.de/svn/NeuroTools/trunk NeuroTools |
|---|
| 5 |
cd NeuroTools |
|---|
| 6 |
|
|---|
| 7 |
As root |
|---|
| 8 |
|
|---|
| 9 |
$ python setup.py install |
|---|
| 10 |
|
|---|
| 11 |
or for those without root access, to a local location, something like: |
|---|
| 12 |
|
|---|
| 13 |
# python setup.py install --prefix=$HOME/opt/mystuff |
|---|
| 14 |
|
|---|
| 15 |
Then you need to add the location: |
|---|
| 16 |
|
|---|
| 17 |
$HOME/opt/mystuff/lib/python2.4/site-packages/ |
|---|
| 18 |
|
|---|
| 19 |
to your PYTHON_PAH or (in python) your sys.path |
|---|
| 20 |
|
|---|
| 21 |
Note, here lib is replaced by lib64 on 64bit systems, and python2.4 is |
|---|
| 22 |
(obviously) replaced by your python version. |
|---|
| 23 |
|
|---|
| 24 |
Developpers of NeuroTools may be intersted in having their lastly updated version from SVN used by python (and therefore on python's path). A solution is to symbolically link the src folder to a folder included in the path: |
|---|
| 25 |
cd my_local_site-packages_folder |
|---|
| 26 |
ln -s where_I_check-out_neuralensemble/NeuroTools/trunk/src NeuroTools |
|---|
| 27 |
and voila! |
|---|
| 28 |
|
|---|
| 29 |
|
|---|