4 ms·
The PIP_REQUIRE_VIRTUALENV environment variable also helps with this.
by rmwaite 7y ago
The PIP_REQUIRE_VIRTUALENV environment variable also helps with this.
- yrro 7y agoThank you! Now if only this was documented! Come to think of it, only there was a PIP_DEFAULT_VIRTUALENV_PROJECTDIR variable which would causes pip to look upwards until it found a setup.py file, and then use a .venv directory in that directory by default...