Module: Mesa
Branch: main
Commit: b13473efe967f79bcea8f7e1683cf194d4df726a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b13473efe967f79bcea8f7e1683cf194d4df726a

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>

---

 bin/pick-ui.sh            | 10 ++++++++++
 bin/pick/requirements.txt |  2 ++
 2 files changed, 12 insertions(+)

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

Reply via email to