1*4e366538SXin Li# This is a vpython "spec" file. 2*4e366538SXin Li# 3*4e366538SXin Li# It describes patterns for python wheel dependencies of the python scripts in 4*4e366538SXin Li# the chromium repo, particularly for dependencies that have compiled components 5*4e366538SXin Li# (since pure-python dependencies can be easily vendored into third_party). 6*4e366538SXin Li# 7*4e366538SXin Li# When vpython is invoked, it finds this file and builds a python VirtualEnv, 8*4e366538SXin Li# containing all of the dependencies described in this file, fetching them from 9*4e366538SXin Li# CIPD (the "Chrome Infrastructure Package Deployer" service). Unlike `pip`, 10*4e366538SXin Li# this never requires the end-user machine to have a working python extension 11*4e366538SXin Li# compilation environment. All of these packages are built using: 12*4e366538SXin Li# https://chromium.googlesource.com/infra/infra/+/master/infra/tools/dockerbuild/ 13*4e366538SXin Li# 14*4e366538SXin Li# All python scripts in the repo share this same spec, to avoid dependency 15*4e366538SXin Li# fragmentation. 16*4e366538SXin Li# 17*4e366538SXin Li# If you have depot_tools installed in your $PATH, you can invoke python scripts 18*4e366538SXin Li# in this repo by running them as you normally would run them, except 19*4e366538SXin Li# substituting `vpython` instead of `python` on the command line, e.g.: 20*4e366538SXin Li# vpython path/to/script.py some --arguments 21*4e366538SXin Li# 22*4e366538SXin Li# Read more about `vpython` and how to modify this file here: 23*4e366538SXin Li# https://chromium.googlesource.com/infra/infra/+/master/doc/users/vpython.md 24*4e366538SXin Li 25*4e366538SXin Lipython_version: "2.7" 26*4e366538SXin Li 27*4e366538SXin Li# Used by: 28*4e366538SXin Li# third_party/catapult 29*4e366538SXin Liwheel: < 30*4e366538SXin Li name: "infra/python/wheels/psutil/${platform}_${py_python}_${py_abi}" 31*4e366538SXin Li version: "version:5.2.2" 32*4e366538SXin Li> 33*4e366538SXin Li 34*4e366538SXin Li# Used by: 35*4e366538SXin Li# third_party/catapult 36*4e366538SXin Liwheel: < 37*4e366538SXin Li name: "infra/python/wheels/pypiwin32/${vpython_platform}" 38*4e366538SXin Li version: "version:219" 39*4e366538SXin Li match_tag: < 40*4e366538SXin Li platform: "win32" 41*4e366538SXin Li > 42*4e366538SXin Li match_tag: < 43*4e366538SXin Li platform: "win_amd64" 44*4e366538SXin Li > 45*4e366538SXin Li> 46*4e366538SXin Li 47*4e366538SXin Li# Used by: 48*4e366538SXin Li# build/android 49*4e366538SXin Liwheel: < 50*4e366538SXin Li name: "infra/python/wheels/requests-py2_py3" 51*4e366538SXin Li version: "version:2.13.0" 52*4e366538SXin Li> 53