mv
This commit is contained in:
parent
02ebf0d2cd
commit
7e1f425dd4
1 changed files with 8 additions and 3 deletions
11
re.sh
11
re.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue