venvs/start
This commit is contained in:
parent
1482de91c2
commit
d7765033ce
1 changed files with 14 additions and 5 deletions
19
re.sh
19
re.sh
|
@ -97,6 +97,20 @@ uv_venv() {
|
|||
--seed \
|
||||
"${1}"
|
||||
}
|
||||
venvs() {
|
||||
local action="${1}"
|
||||
local venv version
|
||||
set \
|
||||
"3.12" \
|
||||
"3.11" \
|
||||
"3.10"
|
||||
for version in "${@}"; do
|
||||
venv="${root}/${version}"
|
||||
case "${action}" in
|
||||
*) ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
caches remove
|
||||
|
||||
|
@ -109,11 +123,6 @@ pip_install --upgrade "pip"
|
|||
pip_install "uv"
|
||||
list_venv "${os}"
|
||||
|
||||
set \
|
||||
"3.12" \
|
||||
"3.11" \
|
||||
"3.10"
|
||||
|
||||
for version in "${@}"; do
|
||||
py="${root}/${version}"
|
||||
remove "${py}"
|
||||
|
|
Loading…
Reference in a new issue