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