summaryrefslogtreecommitdiffstats
path: root/update.sh
diff options
context:
space:
mode:
authorSean Dague <sdague@linux.vnet.ibm.com>2013-02-20 08:30:18 -0500
committerSean Dague <sdague@linux.vnet.ibm.com>2013-02-20 08:45:12 -0500
commita6260da3e3696e77e3e7fcd13acae416dc34809d (patch)
tree3fb111d71f5ba5c48e802ea711837636d50fb0cb /update.sh
parent15377750465b6eb261d2354988b9c90f1f3c1d29 (diff)
downloadoslo-a6260da3e3696e77e3e7fcd13acae416dc34809d.tar.gz
oslo-a6260da3e3696e77e3e7fcd13acae416dc34809d.tar.xz
oslo-a6260da3e3696e77e3e7fcd13acae416dc34809d.zip
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
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 $*