From a6260da3e3696e77e3e7fcd13acae416dc34809d Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 20 Feb 2013 08:30:18 -0500 Subject: readd update.sh to address bootstrapping issue Provide an easy way to people to run the update script even in a brand new oslo-incubator tree. (fix spelling error) Change-Id: I8c8f6e1d2d988ca0fffa79a7d8e9a67cf8311e7f --- update.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 update.sh (limited to 'update.sh') diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..b05a5d1 --- /dev/null +++ b/update.sh @@ -0,0 +1,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 http://tarballs.openstack.org/oslo-config/oslo-config-2013.1b4.tar.gz + +python update.py $* -- cgit