|
Revision 330, 0.9 kB
(checked in by apdavison, 1 year ago)
|
Various minor changes. Corrected metadata in setup.py
|
| Line | |
|---|
| 1 |
NeuroTools Installation |
|---|
| 2 |
======================= |
|---|
| 3 |
|
|---|
| 4 |
First download the package files:: |
|---|
| 5 |
|
|---|
| 6 |
$ svn co https://neuralensemble.org/svn/NeuroTools/trunk NeuroTools |
|---|
| 7 |
$ cd NeuroTools |
|---|
| 8 |
|
|---|
| 9 |
Install as root (if you want a global install):: |
|---|
| 10 |
|
|---|
| 11 |
# python setup.py install |
|---|
| 12 |
|
|---|
| 13 |
or for those without root access, install to a writable location, something like:: |
|---|
| 14 |
|
|---|
| 15 |
$ python setup.py install --prefix=$HOME/opt/mystuff |
|---|
| 16 |
|
|---|
| 17 |
Then you need to add the location:: |
|---|
| 18 |
|
|---|
| 19 |
$HOME/opt/mystuff/lib/python2.5/site-packages/ |
|---|
| 20 |
|
|---|
| 21 |
to your PYTHONPATH or within python in your sys.path directive. |
|---|
| 22 |
|
|---|
| 23 |
Note, here lib is replaced by `lib64` on 64 bit systems, and `python2.5` is |
|---|
| 24 |
(obviously) replaced by your python version. |
|---|
| 25 |
|
|---|
| 26 |
Developers of NeuroTools may be interested in using the last-updated version from svn. |
|---|
| 27 |
A solution is to symbolically link the src folder to a folder included in the path:: |
|---|
| 28 |
|
|---|
| 29 |
cd my_local_site-packages_folder |
|---|
| 30 |
ln -s where_I_check-out_neuralensemble/NeuroTools/trunk/src NeuroTools |
|---|
| 31 |
|
|---|
| 32 |
and voila! |
|---|
| 33 |
|
|---|
| 34 |
|
|---|