Skip to content
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.

Commit

Permalink
Install all python requirements in one go to avoid accidental downgra…
Browse files Browse the repository at this point in the history
…des of packages
  • Loading branch information
jsharpe committed Oct 30, 2017
1 parent 73f99f5 commit b66bebc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
9 changes: 0 additions & 9 deletions python-requirements/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ else
CC="mpicc" ${PREFIX}/bin/python2.7 ${PREFIX}/bin/pip install ${PIPOPTS} --upgrade --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org -r requirements.txt
fi

# Force reinstall
#${PREFIX}/bin/python ${PREFIX}/bin/pip install ${PIPOPTS} --upgrade --no-deps --force-reinstall --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org -r requirements.txt
# Install notebook
${PREFIX}/bin/python2.7 ${PREFIX}/bin/pip install ${PIPOPTS} --upgrade --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org -r notebook-requirements.txt

${PREFIX}/bin/python2.7 ${PREFIX}/bin/pip install ${PIPOPTS} --upgrade --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org jupyter

${PREFIX}/bin/python2.7 ${PREFIX}/bin/pip install ${PIPOPTS} --upgrade --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org jupyter_contrib_nbextensions

# If CUDA present install pycuda
#if [ -f "$CUDA_COMPILER" ]; then
# install/bin/python install/bin/pip install ${PIPOPTS} pycuda
Expand Down
1 change: 1 addition & 0 deletions python-requirements/notebook-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ backports.shutil-get-terminal-size==1.0.0
pickleshare==0.7.4
simplegeneric==0.8.1
jupyter==1.0.0
jupyter_contrib_nbextensions
scipy==0.19.1
# On Macs may need to comment out /usr/X11/include/freetype2 before compiling matplotlib
matplotlib==2.1.0
Expand Down
1 change: 1 addition & 0 deletions python-requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ junit_xml==1.8
voluptuous==0.10.5
h5py==2.7.1
netCDF4==1.3.0
-rnotebook-requirements.txt

0 comments on commit b66bebc

Please sign in to comment.