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