Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: bootstrap/bootstrap_wheel_wheel.sh

Issue 1200843003: Added virtualenv for depot_tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Fix on Windows Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/bin/bash
2 set -e
3 set -x
4
5 cd "$(dirname "$0")"
6
7 # Script to bootstrap the 'wheel' wheel from deps.pyl, You only need to run
8 # this when upgrading the wheel wheel in deps.pyl, or when initializing the
9 # google storage bucket from scratch.
10
11 ./bootstrap.py BUILD_ENV
12
13 . ./BUILD_ENV/bin/activate
14
15 read -r -d '' PROG <<EOF || true
16 import bootstrap
17 print bootstrap.read_deps('deps.pyl')['wheel']['gs']
18 EOF
19 SHA=$(echo "$PROG" | python -)
20 echo $SHA
21
22 pip install wheel "https://storage.googleapis.com/chrome-python-wheelhouse/sourc es/$SHA"
23
24 rm -rf wheelhouse
25 mkdir wheelhouse
26
27 python - <<EOF
28 import build_deps
29 import bootstrap
30 build = bootstrap.read_deps('deps.pyl')['wheel']['build']
31 build_deps.clear_wheelhouse()
32 build_deps.process_gs('wheel', '$SHA', build)
33 build_deps.push_wheelhouse()
34 EOF
OLDNEW
« bootstrap/bootstrap.py ('K') | « bootstrap/bootstrap.py ('k') | bootstrap/build_deps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698