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

Side by Side Diff: bootstrap/update_vendoring.py

Issue 2520493003: Vendor virtualenv, update to 15.1.0. (Closed)
Patch Set: Fix cache directory usage, now hermetic w/ deps-dir. Created 4 years, 1 month 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
« no previous file with comments | « bootstrap/bootstrap.py ('k') | bootstrap/virtualenv/.gitignore » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 The LUCI Authors. All rights reserved. 2 # Copyright 2016 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed under the Apache License, Version 2.0 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # that can be found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 """Regenerates vendored components and derivative files from external sources. 6 """Regenerates vendored components and derivative files from external sources.
7 7
8 This is a utililty script that is intended to be run on a Linux-based system. 8 This is a utililty script that is intended to be run on a Linux-based system.
9 Other operating systems may work, but are not supported. 9 Other operating systems may work, but are not supported.
10 10
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 270
271 d = _path(REPO_DIR, d) 271 d = _path(REPO_DIR, d)
272 all_proto = glob.glob(os.path.join(d, '*.proto')) 272 all_proto = glob.glob(os.path.join(d, '*.proto'))
273 273
274 c.check_call([c.tool('protoc'), '-I', d, '--python_out', outdir] + 274 c.check_call([c.tool('protoc'), '-I', d, '--python_out', outdir] +
275 all_proto) 275 all_proto)
276 276
277 277
278 _ACTIONS = ( 278 _ACTIONS = (
279 _VendoredPipPackage( 279 _VendoredPipPackage(
280 'bootstrap/virtualenv',
281 name='virtualenv',
282 version='15.1.0'),
283 )
284
285 _VendoredPipPackage(
280 'recipe_engine/third_party/six', 286 'recipe_engine/third_party/six',
281 name='six', 287 name='six',
282 version='1.10.0'), 288 version='1.10.0'),
283 289
284 _VendoredPipPackage( 290 _VendoredPipPackage(
285 'recipe_engine/third_party/requests', 291 'recipe_engine/third_party/requests',
286 name='requests', 292 name='requests',
287 version='2.10.0'), 293 version='2.10.0'),
288 294
289 _VendoredGitRepo( 295 _VendoredGitRepo(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 vdir = os.path.join(td, 'vendor_%d' % (i,)) 343 vdir = os.path.join(td, 'vendor_%d' % (i,))
338 os.makedirs(vdir) 344 os.makedirs(vdir)
339 345
340 # Execute the vendor script. 346 # Execute the vendor script.
341 act.run(c, vdir, opts) 347 act.run(c, vdir, opts)
342 348
343 349
344 if __name__ == '__main__': 350 if __name__ == '__main__':
345 logging.basicConfig(level=logging.DEBUG) 351 logging.basicConfig(level=logging.DEBUG)
346 sys.exit(main(sys.argv[1:])) 352 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « bootstrap/bootstrap.py ('k') | bootstrap/virtualenv/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698