Module: Mesa Branch: staging/23.1 Commit: d4b505ea89cb3c8a6b4a97071e3d3f6e5b696b48 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4b505ea89cb3c8a6b4a97071e3d3f6e5b696b48
Author: Eric Engestrom <[email protected]> Date: Tue Jun 20 14:42:01 2023 +0100 bin/pick-ui: use venv wrapper Signed-off-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24367> (cherry picked from commit b13473efe967f79bcea8f7e1683cf194d4df726a) --- .pick_status.json | 2 +- bin/pick-ui.sh | 10 ++++++++++ bin/pick/requirements.txt | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index aff6bc0ca1e..6e8962a7f3c 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -31,7 +31,7 @@ "description": "bin/pick-ui: use venv wrapper", "nominated": false, "nomination_type": null, - "resolution": 4, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/bin/pick-ui.sh b/bin/pick-ui.sh new file mode 100755 index 00000000000..6e44cf851fb --- /dev/null +++ b/bin/pick-ui.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +set -eu + +this_dir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +readonly this_dir + +exec \ + "$this_dir/python-venv.sh" \ + "$this_dir/pick/requirements.txt" \ + "$this_dir/pick-ui.py" "$@" diff --git a/bin/pick/requirements.txt b/bin/pick/requirements.txt new file mode 100644 index 00000000000..0a6f4e9cb16 --- /dev/null +++ b/bin/pick/requirements.txt @@ -0,0 +1,2 @@ +attrs==23.1.0 +urwid==2.1.2
