summaryrefslogtreecommitdiff
path: root/prep_for_ybd.sh
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-28 07:09:31 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-28 07:09:31 +0100
commitc7fc5119f3b12effdf83e6347324480437ae88ea (patch)
treeef7c637a9b22c81b9c96e99c063848f83c379f22 /prep_for_ybd.sh
parentf21dc408431736857418aea1a2cb25cca6dfb3c4 (diff)
downloadbuildslave-scripts-c7fc5119f3b12effdf83e6347324480437ae88ea.tar.gz
Clean up ybd virtualenv
By making ybd run in a virtualenv for deploy as well as build, installing all needed packages and not installing pip global
Diffstat (limited to 'prep_for_ybd.sh')
-rwxr-xr-xprep_for_ybd.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/prep_for_ybd.sh b/prep_for_ybd.sh
index 28e7ad8..24c9a70 100755
--- a/prep_for_ybd.sh
+++ b/prep_for_ybd.sh
@@ -3,13 +3,10 @@
# Script to set up yum-y or apt-y machine for ybd use
if [ -x /usr/bin/apt ]; then
- apt-get install -y make automake gcc g++ linux-headers-$(uname -r) git gawk python-pip
+ apt-get install -y make automake gcc g++ linux-headers-$(uname -r) git gawk python-virtualenv
elif [ -x /usr/bin/yum ]; then
- yum install -y make automake gcc gcc-c++ kernel-devel git gawk python-pip
+ yum install -y make automake gcc gcc-c++ kernel-devel git gawk python-virtualenv
else
echo "Unsuported package manager, try apt or yum."
exit 1
fi
-
-pip install pyyaml sandboxlib jsonschema requests
-