venvs/link
This commit is contained in:
parent
b0a3ae00eb
commit
44a925feb4
1 changed files with 9 additions and 5 deletions
14
re.sh
14
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
|
||||
|
|
Loading…
Reference in a new issue