bin/pick-ui: use venv wrapper

Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24367>
(cherry picked from commit b13473efe9)
This commit is contained in:
Eric Engestrom 2023-06-20 14:42:01 +01:00 committed by Eric Engestrom
parent 5a6ce53dd8
commit d4b505ea89
3 changed files with 13 additions and 1 deletions

View file

@ -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
},

10
bin/pick-ui.sh Executable file
View file

@ -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" "$@"

View file

@ -0,0 +1,2 @@
attrs==23.1.0
urwid==2.1.2