4 ms·
I'm not them, but I use `direnv` for this. Their wiki includes two layout_uv[1] scripts, one that uses `uv` just to activate a regular venv and a second that us
by SAI_Peregrinus 2y ago
I'm not them, but I use `direnv` for this. Their wiki includes two layout_uv[1] scripts, one that uses `uv` just to activate a regular venv and a second that uses it to manage the whole project. I use the latter.
[1] https://github.com/direnv/direnv/wiki/Python https://github.com/direnv/direnv/wiki/Python
- stavros 2y agoThat's great, thanks! I use direnv but didn't know they had this.
- SAI_Peregrinus 2y agoCustom layouts are awesome. You can set up any script to run when direnv runs, so you can support just about anything you want even before direnv adds a builtin.