diff --git a/re.sh b/re.sh index d48176b..feaaab7 100755 --- a/re.sh +++ b/re.sh @@ -67,12 +67,9 @@ set \ } uv_python() { echo - export UV_PYTHON_INSTALL_DIR="${1}/cpypy" export UV_PYTHON_INSTALL_MIRROR="${url}/cpypy" uv python install "${2}" - unset \ - UV_PYTHON_INSTALL_DIR \ - UV_PYTHON_INSTALL_MIRROR + unset UV_PYTHON_INSTALL_MIRROR } uv_venv() { echo @@ -100,8 +97,12 @@ set \ for version in "${@}"; do py="${root}/${version}" remove "${py}" + export UV_PYTHON_INSTALL_DIR="${1}/cpypy" + echo "→ install python ${version}" uv_python "${py}" "${version}" + echo "→ create venv ${version}" uv_venv "${py}" "${version}" + unset UV_PYTHON_INSTALL_DIR done deactivate