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

8
re.sh
View file

@ -38,16 +38,16 @@ uv_install() {
}
uv_python() {
echo
export UV_PYTHON_INSTALL_DIR="${1}/cpypy"
export UV_PYTHON_INSTALL_MIRROR="${url}/cpypy"
uv python install
unset UV_PYTHON_INSTALL_MIRROR
mkdir --parents "${1}/cpypy"
mv ~/.local/share/uv/python/* "${1}/cpypy"
unset \
UV_PYTHON_INSTALL_DIR \
UV_PYTHON_INSTALL_MIRROR
}
uv_venv() {
echo
uv venv \
--allow-existing \
--index-url "${url_pypi}" \
--relocatable \
--seed \