This commit is contained in:
Marc Beninca 2024-09-29 02:16:09 +02:00
parent 02ebf0d2cd
commit 7e1f425dd4
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

11
re.sh
View file

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