bin: add wrapper to run scripts in a python venv
authorEric Engestrom <eric@igalia.com>
Wed, 3 May 2023 16:52:57 +0000 (17:52 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 3 Aug 2023 23:21:31 +0000 (23:21 +0000)
commit75f44bd79a01b8bec4b7cbb561bbb10cadc3db8c
tree049c2c6279b0d9a5760f2648d34dfc2282536f94
parentf34bae7d8cd0b667d69d8c718d0e22670b9cc0a0
bin: add wrapper to run scripts in a python venv

This isolates the script environment from the rest of the machine,
avoiding missing/incompatible dependencies and avoiding polluting the
rest of the machine with python packages.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24367>
bin/python-venv.sh [new file with mode: 0755]