crosvm/tools/.vpython3
Dennis Kempin 3e1ed7926f tools: Add 'rich' as dependency
Updates the code to be able to install multiple packages and show
a useful error message if pip is not available.

Rich will be used by future tools for prettier terminal output
of our tools, most importantly to be able to print status updates
of parallel presubmit checks.

BUG=b:239255137
TEST=uninstall python3-pip, removed all packages. Ran ./tools/cl

Change-Id: I50bfdf2bee279e6d6d02c7dd23131cba1fed2a8c
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3824003
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2023-01-24 17:33:29 +00:00

32 lines
735 B
Text

# This is a vpython "spec" file.
#
# Read more about `vpython` and how to modify this file here:
# https://chromium.googlesource.com/infra/infra/+/master/doc/users/vpython.md
python_version:"3.8"
# Required by crosvm tools. See ./tools/common.py
wheel: <
name: "infra/python/wheels/argh-py2_py3"
version: "version:0.26.2"
>
wheel: <
name: "infra/python/wheels/mdurl-py3"
version: "version:0.1.2"
>
wheel: <
name: "infra/python/wheels/markdown-it-py-py3"
version: "version:2.1.0"
>
wheel: <
name: "infra/python/wheels/typing-extensions-py3"
version: "version:4.3.0"
>
wheel: <
name: "infra/python/wheels/pygments-py3"
version: "version:2.14.0"
>
wheel: <
name: "infra/python/wheels/rich-py3"
version: "version:13.2.0"
>