summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaeff <hi@kaeff.net>2015-08-20 12:02:14 +0200
committerkaeff <hi@kaeff.net>2015-08-20 12:07:51 +0200
commita43535c547224fa256fef809f5dbd4b0ffedb384 (patch)
treeb80a7377de1c924d3c889e07f6a829297f08e738
parent6859c77bdb6201fc3fb804e1bb781a1e51585f57 (diff)
Upgrade pip and setuptools when logging into the dev box
Doing the upgrade while ssh'ing into the box because 1) The virtualenv is loaded already 2) Happends right before pip is used the first time See https://github.com/pixelated/pixelated-user-agent/pull/436
-rwxr-xr-xprovisioning/modules/pixelated/files/activate_custom_node_modules.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/provisioning/modules/pixelated/files/activate_custom_node_modules.sh b/provisioning/modules/pixelated/files/activate_custom_node_modules.sh
index f46b67e1..5ad419e3 100755
--- a/provisioning/modules/pixelated/files/activate_custom_node_modules.sh
+++ b/provisioning/modules/pixelated/files/activate_custom_node_modules.sh
@@ -27,6 +27,9 @@ fi
source /home/vagrant/user-agent-venv/bin/activate
+pip install --upgrade pip
+pip install --upgrade setuptools
+
cd /vagrant/service
echo "running python setup"
./go setuppy > /dev/null