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

Side by Side Diff: bootstrap/get_appengine.py

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
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """This script is copied from
7 https://chromium.googlesource.com/infra/infra.git/+/master/bootstrap
8 """
9
10 import datetime 6 import datetime
11 import logging 7 import logging
12 import optparse 8 import optparse
13 import os 9 import os
14 import re 10 import re
15 import shutil 11 import shutil
16 import sys 12 import sys
17 import time 13 import time
18 import tempfile 14 import tempfile
19 import urllib2 15 import urllib2
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 options, args = parser.parse_args() 126 options, args = parser.parse_args()
131 if args: 127 if args:
132 parser.error('Unsupported args: %s' % ' '.join(args)) 128 parser.error('Unsupported args: %s' % ' '.join(args))
133 logging.basicConfig(level=logging.DEBUG if options.verbose else logging.ERROR) 129 logging.basicConfig(level=logging.DEBUG if options.verbose else logging.ERROR)
134 return install_latest_gae_sdk( 130 return install_latest_gae_sdk(
135 os.path.abspath(options.dest), options.go, options.dry_run) 131 os.path.abspath(options.dest), options.go, options.dry_run)
136 132
137 133
138 if __name__ == '__main__': 134 if __name__ == '__main__':
139 sys.exit(main()) 135 sys.exit(main())
OLDNEW
« bootstrap/bootstrap.py ('K') | « bootstrap/deps.pyl ('k') | bootstrap/ingest_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698