From: Eric Engestrom Date: Tue, 20 Jun 2023 13:42:01 +0000 (+0100) Subject: bin/pick-ui: use venv wrapper X-Git-Tag: upstream/23.3.3~4661 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b13473efe967f79bcea8f7e1683cf194d4df726a;p=platform%2Fupstream%2Fmesa.git bin/pick-ui: use venv wrapper Signed-off-by: Eric Engestrom Part-of: --- diff --git a/bin/pick-ui.sh b/bin/pick-ui.sh new file mode 100755 index 0000000..6e44cf8 --- /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 0000000..0a6f4e9 --- /dev/null +++ b/bin/pick/requirements.txt @@ -0,0 +1,2 @@ +attrs==23.1.0 +urwid==2.1.2