Added useful requirements and removed problematic scipy

This commit is contained in:
Slater-Victoroff
2013-05-31 12:40:43 -04:00
parent ab2a919c92
commit a76adc2871
2 changed files with 8 additions and 7 deletions

View File

@@ -3,6 +3,7 @@ pkg-config
curl
git
python-virtualenv
python-scipy
build-essential
python-dev
gfortran

View File

@@ -416,18 +416,18 @@ SCIPY_VER="0.10.1"
if [[ -n $compile ]]; then
output "Downloading numpy and scipy"
curl -sL -o numpy.tar.gz http://downloads.sourceforge.net/project/numpy/NumPy/${NUMPY_VER}/numpy-${NUMPY_VER}.tar.gz
curl -sL -o scipy.tar.gz http://downloads.sourceforge.net/project/scipy/scipy/${SCIPY_VER}/scipy-${SCIPY_VER}.tar.gz
#curl -sL -o scipy.tar.gz http://downloads.sourceforge.net/project/scipy/scipy/${SCIPY_VER}/scipy-${SCIPY_VER}.tar.gz
tar xf numpy.tar.gz
tar xf scipy.tar.gz
rm -f numpy.tar.gz scipy.tar.gz
#tar xf scipy.tar.gz
rm -f numpy.tar.gz #scipy.tar.gz
output "Compiling numpy"
cd "$BASE/numpy-${NUMPY_VER}"
python setup.py install
output "Compiling scipy"
cd "$BASE/scipy-${SCIPY_VER}"
python setup.py install
#output "Compiling scipy"
#cd "$BASE/scipy-${SCIPY_VER}"
#python setup.py install
cd "$BASE"
rm -rf numpy-${NUMPY_VER} scipy-${SCIPY_VER}
rm -rf numpy-${NUMPY_VER} #scipy-${SCIPY_VER}
fi
# building correct version of distribute from source