summaryrefslogtreecommitdiff
path: root/update.sh
blob: 8ab309cded1b70e141922b921e7273508e77c44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

VENV=.update-venv

# -qq gets rid of the deprecation warning, in time we can
# remove --no-site-packages as it's the default now
[ -d $VENV ] || virtualenv -qq --no-site-packages $VENV

. $VENV/bin/activate

# need oslo.config for bootstrapping, be quiet for UX reasons
pip -q install oslo.config

python update.py $*