Last change
on this file since 12332 was 12332, checked in by Mathieu Morlighem, 13 years ago |
merged trunk-jpl and trunk for revision 12326M
|
-
Property svn:executable
set to
*
|
File size:
562 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | #1: install numpy
|
---|
4 | #2 install scipy
|
---|
5 | #3 erase
|
---|
6 | install=2
|
---|
7 |
|
---|
8 |
|
---|
9 | export CC=gcc
|
---|
10 | export CXX=g++
|
---|
11 | export FFLAGS=-ff2c
|
---|
12 |
|
---|
13 |
|
---|
14 | if [[ $install == "1" ]];then
|
---|
15 |
|
---|
16 | #download numpy first
|
---|
17 | git clone https://github.com/numpy/numpy.git
|
---|
18 |
|
---|
19 | #install numpy
|
---|
20 | cd numpy
|
---|
21 | python setup.py build
|
---|
22 | python setup.py install
|
---|
23 |
|
---|
24 |
|
---|
25 | elif [[ $install == "2" ]];then
|
---|
26 |
|
---|
27 | #download scipy
|
---|
28 | git clone https://github.com/scipy/scipy.git
|
---|
29 |
|
---|
30 | #install scipy
|
---|
31 | cd scipy
|
---|
32 | python setup.py build
|
---|
33 | python setup.py install
|
---|
34 |
|
---|
35 | elif [[ $install == "3" ]];then
|
---|
36 | rm -rf numpy scipy
|
---|
37 | else
|
---|
38 | echo "Choice not covered"
|
---|
39 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.