11cb0ef41Sopenharmony_ci# This is a vpython "spec" file.
21cb0ef41Sopenharmony_ci#
31cb0ef41Sopenharmony_ci# It describes patterns for python wheel dependencies of the python scripts in
41cb0ef41Sopenharmony_ci# the callstats.py, particularly for dependencies that have compiled components
51cb0ef41Sopenharmony_ci# (since pure-python dependencies can be easily vendored into third_party).
61cb0ef41Sopenharmony_ci#
71cb0ef41Sopenharmony_ci# When vpython is invoked, it finds this file and builds a python VirtualEnv,
81cb0ef41Sopenharmony_ci# containing all of the dependencies described in this file, fetching them from
91cb0ef41Sopenharmony_ci# CIPD (the "Chrome Infrastructure Package Deployer" service). Unlike `pip`,
101cb0ef41Sopenharmony_ci# this never requires the end-user machine to have a working python extension
111cb0ef41Sopenharmony_ci# compilation environment. All of these packages are built using:
121cb0ef41Sopenharmony_ci#   https://chromium.googlesource.com/infra/infra/+/master/infra/tools/dockerbuild/
131cb0ef41Sopenharmony_ci#
141cb0ef41Sopenharmony_ci# All python scripts in the repo share this same spec, to avoid dependency
151cb0ef41Sopenharmony_ci# fragmentation.
161cb0ef41Sopenharmony_ci#
171cb0ef41Sopenharmony_ci# If you have depot_tools installed in your $PATH, you can invoke python scripts
181cb0ef41Sopenharmony_ci# in this repo by running them as you normally would run them, except
191cb0ef41Sopenharmony_ci# substituting `vpython` instead of `python` on the command line, e.g.:
201cb0ef41Sopenharmony_ci#   vpython path/to/script.py some --arguments
211cb0ef41Sopenharmony_ci#
221cb0ef41Sopenharmony_ci# Read more about `vpython` and how to modify this file here:
231cb0ef41Sopenharmony_ci#   https://chromium.googlesource.com/infra/infra/+/master/doc/users/vpython.md
241cb0ef41Sopenharmony_ci
251cb0ef41Sopenharmony_cipython_version: "2.7"
261cb0ef41Sopenharmony_ci
271cb0ef41Sopenharmony_ciwheel: <
281cb0ef41Sopenharmony_ci  name: "infra/python/wheels/numpy/${vpython_platform}"
291cb0ef41Sopenharmony_ci  version: "version:1.11.3"
301cb0ef41Sopenharmony_ci>
311cb0ef41Sopenharmony_ci
321cb0ef41Sopenharmony_ciwheel: <
331cb0ef41Sopenharmony_ci  name: "infra/python/wheels/scipy/${vpython_platform}"
341cb0ef41Sopenharmony_ci  version: "version:0.19.0"
351cb0ef41Sopenharmony_ci  match_tag: <
361cb0ef41Sopenharmony_ci    abi: "cp27mu"
371cb0ef41Sopenharmony_ci    platform: "manylinux1_i686"
381cb0ef41Sopenharmony_ci  >
391cb0ef41Sopenharmony_ci  match_tag: <
401cb0ef41Sopenharmony_ci    abi: "cp27mu"
411cb0ef41Sopenharmony_ci    platform: "manylinux1_x86_64"
421cb0ef41Sopenharmony_ci  >
431cb0ef41Sopenharmony_ci>
44