summaryrefslogtreecommitdiffstats
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh14
1 files changed, 14 insertions, 0 deletions
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 $*