Index: bootstrap/bootstrap_wheel_wheel.sh |
diff --git a/bootstrap/bootstrap_wheel_wheel.sh b/bootstrap/bootstrap_wheel_wheel.sh |
new file mode 100755 |
index 0000000000000000000000000000000000000000..4c27bfbd1e09c5d791df82fe900159416b51195e |
--- /dev/null |
+++ b/bootstrap/bootstrap_wheel_wheel.sh |
@@ -0,0 +1,28 @@ |
+#!/bin/sh |
+ |
+# Script to bootstrap the 'wheel' wheel from deps.pst. You only need to run |
+# this when upgrading the wheel wheel in deps.pst, or when initializing the |
+# google storage bucket from scratch. |
+ |
dnj
2014/07/10 16:06:18
Consider doing a script path discovery and constru
iannucci
2014/07/11 02:14:45
Done.
|
+./bootstrap.py --env_path BUILD_ENV |
+ |
+. ./BUILD_ENV/bin/activate |
+ |
+read -r -d '' PROG <<EOF |
dnj
2014/07/10 16:06:18
Consider exporting this to a "bootstrap_wheel_whee
iannucci
2014/07/11 02:14:46
meh. there's already too many files here. Having t
|
+import bootstrap |
+print bootstrap.read_deps('deps.pst')['wheel']['gs'] |
+EOF |
+SHA=$(echo "$PROG" | python -) |
dnj
2014/07/10 16:06:18
Either set "-e" (errexit) or explicitly check the
iannucci
2014/07/11 02:14:46
Done.
|
+ |
+pip install wheel "https://storage.googleapis.com/chrome-python-wheelhouse/sources/$SHA" |
+ |
+rm -rf wheelhouse |
dnj
2014/07/10 16:06:17
Surround this w/ a directory check and maybe print
iannucci
2014/07/11 02:14:45
wheelhouse is only used by these scripts for build
|
+mkdir wheelhouse |
+ |
+python - <<EOF |
dnj
2014/07/10 16:06:18
Consider exporting this to a "bootstrap_wheel_whee
iannucci
2014/07/11 02:14:45
Acknowledged.
|
+import build_deps |
+import bootstrap |
+build = bootstrap.read_deps('deps.pst')['wheel']['build'] |
+build_deps.process_gs('wheel', '$SHA', build) |
+build_deps.push_wheelhouse() |
+EOF |