diff --git a/re.sh b/re.sh index db09b3c..c0a41cf 100755 --- a/re.sh +++ b/re.sh @@ -40,13 +40,18 @@ uv_python() { echo export UV_PYTHON_INSTALL_MIRROR="${url}/cpypy" uv python install - #--cache-dir "${1}/cpypy" unset UV_PYTHON_INSTALL_MIRROR + mkdir --parents "${1}/cpypy" + mv ~/.local/share/uv/python/* "${1}/cpypy" } uv_venv() { echo - uv venv --index-url "${url_pypi}" --relocatable --seed "${1}" - #--cache-dir "${1}/cpypy" + uv venv \ + --allow-existing \ + --index-url "${url_pypi}" \ + --relocatable \ + --seed \ + "${1}" } remove ~/.cache/pip ~/.local/share/uv