source: issm/trunk/externalpackages/scipy/install-macosx-lion.sh@ 12332

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
6install=2
7
8
9export CC=gcc
10export CXX=g++
11export FFLAGS=-ff2c
12
13
14if [[ $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
25elif [[ $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
35elif [[ $install == "3" ]];then
36 rm -rf numpy scipy
37else
38 echo "Choice not covered"
39fi
Note: See TracBrowser for help on using the repository browser.