diff options
author | kaeff <hi@kaeff.net> | 2015-08-20 12:02:14 +0200 |
---|---|---|
committer | kaeff <hi@kaeff.net> | 2015-08-20 12:07:51 +0200 |
commit | a43535c547224fa256fef809f5dbd4b0ffedb384 (patch) | |
tree | b80a7377de1c924d3c889e07f6a829297f08e738 | |
parent | 6859c77bdb6201fc3fb804e1bb781a1e51585f57 (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-x | provisioning/modules/pixelated/files/activate_custom_node_modules.sh | 3 |
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 |