|
|
|
|
|
by WhyNotHugo
91 days ago
|
|
Pip doesn’t have any philosophy here. It doesn’t manage your virtualenv at all, and definitely doesn’t suggest installing dependencies into a working directory. Putting the venv in the project repository is a mess; it mixes a bunch of third party code and artifacts into the current workspace. It also makes cleaning disk space a pain, since virtualenvs end up littered all over the place. And every time you “git clean” you have to bootstrap all over again. Perhaps a flag to control this might be a good fit, but honestly, I always found uv’s workflow here super annoying. |
|
If for some rare reason you wanted to delete all venvs, a find command is easy enough to write.