From e3051799b0a14d8dafe0b5c80116f9d6eafef2c7 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 29 Sep 2024 17:19:15 +0200 Subject: [PATCH] venvs/uv --- re.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/re.sh b/re.sh index 0f483a1..087f7ca 100755 --- a/re.sh +++ b/re.sh @@ -115,6 +115,13 @@ venvs() { uv_venv "${venv}" "${version}" unset UV_PYTHON_INSTALL_DIR ;; + "uv") + activate "${venv}" + list_venv "${venv}" + pip_install "uv" + list_venv "${venv}" + deactivate + ;; *) ;; esac done @@ -134,14 +141,7 @@ list_venv "${os}" venvs create deactivate -for version in "${@}"; do - py="${root}/${version}" - activate "${py}" - list_venv "${py}" - pip_install "uv" - list_venv "${py}" - deactivate -done +venvs uv for version in "${@}"; do py="${root}/${version}" activate "${py}"