pypy
This commit is contained in:
parent
fdc01a98b6
commit
925cbbdeca
1 changed files with 6 additions and 3 deletions
9
re.sh
9
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
|
||||
|
|
Loading…
Reference in a new issue