Added useful requirements and removed problematic scipy
This commit is contained in:
@@ -3,6 +3,7 @@ pkg-config
|
||||
curl
|
||||
git
|
||||
python-virtualenv
|
||||
python-scipy
|
||||
build-essential
|
||||
python-dev
|
||||
gfortran
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user