This commit is contained in:
Marc Beninca 2024-09-29 17:10:59 +02:00
parent d7765033ce
commit d4b8d62d41
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

4
re.sh
View file

@ -114,8 +114,9 @@ venvs() {
caches remove caches remove
remove "${root}"
os="${root}/os" os="${root}/os"
remove "${os}"
python3 -m "venv" "${os}" python3 -m "venv" "${os}"
activate "${os}" activate "${os}"
list_venv "${os}" list_venv "${os}"
@ -125,7 +126,6 @@ list_venv "${os}"
for version in "${@}"; do for version in "${@}"; do
py="${root}/${version}" py="${root}/${version}"
remove "${py}"
export UV_PYTHON_INSTALL_DIR="${py}/cpypy" export UV_PYTHON_INSTALL_DIR="${py}/cpypy"
echo "→ install python ${version}" echo "→ install python ${version}"
uv_python "${py}" "${version}" uv_python "${py}" "${version}"