venvs/install

This commit is contained in:
Marc Beninca 2024-09-29 17:23:06 +02:00
parent e3051799b0
commit b0a3ae00eb
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

12
re.sh
View file

@ -115,11 +115,14 @@ venvs() {
uv_venv "${venv}" "${version}" uv_venv "${venv}" "${version}"
unset UV_PYTHON_INSTALL_DIR unset UV_PYTHON_INSTALL_DIR
;; ;;
"uv") "init")
activate "${venv}" activate "${venv}"
list_venv "${venv}"
pip_install "uv" pip_install "uv"
list_venv "${venv}" deactivate
;;
"install")
activate "${venv}"
uv_install
deactivate deactivate
;; ;;
*) ;; *) ;;
@ -141,11 +144,10 @@ list_venv "${os}"
venvs create venvs create
deactivate deactivate
venvs uv venvs init
for version in "${@}"; do for version in "${@}"; do
py="${root}/${version}" py="${root}/${version}"
activate "${py}" activate "${py}"
uv_install
for module in "rwx"; do for module in "rwx"; do
ln --symbolic \ ln --symbolic \
"/rwx/rwx/${module}" \ "/rwx/rwx/${module}" \