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}"