mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
16 lines
438 B
Plaintext
16 lines
438 B
Plaintext
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
for package in python-dev python-pip python-virtualenv libevent-dev; do
|
||
|
if [ "$(dpkg --status -- $package|sed -n 's/^Status: //p')" != "install ok installed" ]; then
|
||
|
# add a space after old values
|
||
|
missing="${missing:+$missing }$package"
|
||
|
fi
|
||
|
done
|
||
|
if [ -n "$missing" ]; then
|
||
|
aptdcon --install $missing
|
||
|
fi
|
||
|
|
||
|
virtualenv --no-site-packages --distribute virtualenv
|
||
|
./virtualenv/bin/pip install -r requirements.txt
|