Hacker News new | past | comments | ask | show | jobs | submit login

There are plenty of ways to have the venv automatically activate (and de-activate) when you enter/leave the directory for the project. direnv [0], mise [1], or various shell hooks.

There are useful libraries, I’m not saying there aren’t. I just dislike it when people include one as a dependency when they really didn’t need it.

[0]: https://github.com/direnv/direnv

[1]: https://github.com/jdx/mise




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: