From 44a925feb48c1a178311476a3f4e81c8396d3cb6 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 29 Sep 2024 17:26:02 +0200 Subject: [PATCH] venvs/link --- re.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/re.sh b/re.sh index ad3e15a..c094f2a 100755 --- a/re.sh +++ b/re.sh @@ -125,6 +125,15 @@ venvs() { uv_install deactivate ;; + "link") + activate "${venv}" + for module in "rwx"; do + ln --symbolic \ + "/rwx/rwx/${module}" \ + "${venv}/lib/python${version}/site-packages/${module}" + done + deactivate + ;; *) ;; esac done @@ -148,11 +157,6 @@ venvs init for version in "${@}"; do py="${root}/${version}" activate "${py}" - for module in "rwx"; do - ln --symbolic \ - "/rwx/rwx/${module}" \ - "${py}/lib/python${version}/site-packages/${module}" - done list_venv "${py}" deactivate done