forked from TrueCloudLab/s3-tests
Compare commits
1 commit
master
...
wip-bootst
Author | SHA1 | Date | |
---|---|---|---|
|
276125593a |
1 changed files with 1 additions and 10 deletions
11
bootstrap
11
bootstrap
|
@ -15,16 +15,7 @@ if [ -f /etc/debian_version ]; then
|
|||
fi
|
||||
fi
|
||||
if [ -f /etc/redhat-release ]; then
|
||||
for package in python-pip python-virtualenv python-devel libevent-devel; do
|
||||
if [ "$(rpm -qa $package 2>/dev/null)" == "" ]; then
|
||||
missing="${missing:+$missing }$package"
|
||||
fi
|
||||
done
|
||||
if [ -n "$missing" ]; then
|
||||
echo "$0: missing required packages, please install them:" 1>&2
|
||||
echo " sudo yum install $missing"
|
||||
exit 1
|
||||
fi
|
||||
sudo yum install python-pip python-virtualenv python-devel libevent-devel
|
||||
fi
|
||||
|
||||
virtualenv --no-site-packages --distribute virtualenv
|
||||
|
|
Loading…
Reference in a new issue