From 622144fa75933e02f7bb0c1d86cb740d00501d8c Mon Sep 17 00:00:00 2001 From: Jonathan Kamens Date: Thu, 23 Jul 2015 15:58:08 -0400 Subject: [PATCH] BLD: Add "--exists-action w" to pip invocations --- etc/ordered_pip.sh | 2 +- vagrant_init.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/ordered_pip.sh b/etc/ordered_pip.sh index f7f9bc7c..7d6f81cf 100755 --- a/etc/ordered_pip.sh +++ b/etc/ordered_pip.sh @@ -5,7 +5,7 @@ while read line do if [[ -n "$line" && "$line" != \#* ]] ; then # forward to pip any args after the reqs filename - pip install $line "${@:2}" + pip install --exists-action w $line "${@:2}" ((a = a + 1)) fi done < $1 diff --git a/vagrant_init.sh b/vagrant_init.sh index b345e1bd..e92983b2 100644 --- a/vagrant_init.sh +++ b/vagrant_init.sh @@ -46,5 +46,5 @@ echo "Installing python package dependencies..." echo "Installing scipy..." pip install scipy==0.12.0 2>&1 >> "$VAGRANT_LOG" echo "Installing zipline dev python dependencies..." -pip install -r /vagrant/etc/requirements_dev.txt 2>&1 >> "$VAGRANT_LOG" +pip install --exists-action w -r /vagrant/etc/requirements_dev.txt 2>&1 >> "$VAGRANT_LOG" echo "Finished!"