Luis Norambuena@programming.devM to Python@programming.devEnglish · 13 days agoLazy self-installing Python scripts with uvtreyhunner.comexternal-linkmessage-square7fedilinkarrow-up134arrow-down12file-text
arrow-up132arrow-down1external-linkLazy self-installing Python scripts with uvtreyhunner.comLuis Norambuena@programming.devM to Python@programming.devEnglish · 13 days agomessage-square7fedilinkfile-text
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-213 days ago I’m sure I’m not the only person who’s got uv configured to install the virtualenv in the local .venv folder That’s the default for projects. Script is a different run mode. every time I invoke the script, I’d get a new set of dependencies installed wherever I happen to be. Does that happen though? uv uses the cache location for these script dependencies, not your usual venv one. Where you call it from is not a factor.
That’s the default for projects. Script is a different run mode.
Does that happen though?
uv
uses the cache location for these script dependencies, not your usual venv one. Where you call it from is not a factor.