News for hackers. Stuff that matters.
Re:uv downloads overtake Poetry for Wagtail users by SAI_Peregrinus on Monday March 17, 2025 @02:51PM (#43391636)
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

Re:uv downloads overtake Poetry for Wagtail users by stavros on Monday March 17, 2025 @03:02PM (#43391728)
That's great, thanks! I use direnv but didn't know they had this.
Re:uv downloads overtake Poetry for Wagtail users by SAI_Peregrinus on Tuesday March 18, 2025 @12:27PM (#43401304)
Custom 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.