From 925cbbdeca87051fc0e7306122d08d8ea3dfd558 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 29 Sep 2024 21:41:09 +0200 Subject: [PATCH] pypy --- re.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/re.sh b/re.sh index 5083585..8527930 100755 --- a/re.sh +++ b/re.sh @@ -84,8 +84,11 @@ set \ uv_python() { echo export UV_PYTHON_INSTALL_MIRROR="${url}/cpypy" - uv python install "${2}" - unset UV_PYTHON_INSTALL_MIRROR + export UV_PYPY_INSTALL_MIRROR="${UV_PYTHON_INSTALL_MIRROR}" + uv python install "${1}" + unset \ + UV_PYPY_INSTALL_MIRROR \ + UV_PYTHON_INSTALL_MIRROR } uv_venv() { echo @@ -115,7 +118,7 @@ venvs() { "create") export UV_PYTHON_INSTALL_DIR="${venv}/cpypy" echo "→ install python ${version}" - uv_python "${venv}" "${version}" + uv_python "${version}" echo "→ create venv ${version}" uv_venv "${venv}" "${version}" unset UV_PYTHON_INSTALL_DIR