dir/py,venv
This commit is contained in:
parent
9e8b139a81
commit
17f8310bfb
1 changed files with 5 additions and 4 deletions
9
re.sh
9
re.sh
|
@ -67,12 +67,9 @@ set \
|
||||||
}
|
}
|
||||||
uv_python() {
|
uv_python() {
|
||||||
echo
|
echo
|
||||||
export UV_PYTHON_INSTALL_DIR="${1}/cpypy"
|
|
||||||
export UV_PYTHON_INSTALL_MIRROR="${url}/cpypy"
|
export UV_PYTHON_INSTALL_MIRROR="${url}/cpypy"
|
||||||
uv python install "${2}"
|
uv python install "${2}"
|
||||||
unset \
|
unset UV_PYTHON_INSTALL_MIRROR
|
||||||
UV_PYTHON_INSTALL_DIR \
|
|
||||||
UV_PYTHON_INSTALL_MIRROR
|
|
||||||
}
|
}
|
||||||
uv_venv() {
|
uv_venv() {
|
||||||
echo
|
echo
|
||||||
|
@ -100,8 +97,12 @@ set \
|
||||||
for version in "${@}"; do
|
for version in "${@}"; do
|
||||||
py="${root}/${version}"
|
py="${root}/${version}"
|
||||||
remove "${py}"
|
remove "${py}"
|
||||||
|
export UV_PYTHON_INSTALL_DIR="${1}/cpypy"
|
||||||
|
echo "→ install python ${version}"
|
||||||
uv_python "${py}" "${version}"
|
uv_python "${py}" "${version}"
|
||||||
|
echo "→ create venv ${version}"
|
||||||
uv_venv "${py}" "${version}"
|
uv_venv "${py}" "${version}"
|
||||||
|
unset UV_PYTHON_INSTALL_DIR
|
||||||
done
|
done
|
||||||
|
|
||||||
deactivate
|
deactivate
|
||||||
|
|
Loading…
Reference in a new issue