Re:Debian discusses vendoring again
by kstrauser on Wednesday January 13, 2021 @02:09PM
(#25766616)
Pip has that feature now. Put this in your ~/.pip/pip.conf:
and then you get errors like:
[ Parent
| on HN ]
That's not exactly the same. I might be fine with installing Python packages with pip into my home directory, just not /usr.
My workflow's been to temporary disable that, do the stuff I need, then re-enable it. It's a bit clunky, but I don't install stuff outside a virtualenv frequently enough for it to be a major pain in the neck.
Yeah I use pyenv + virtualenvwrapper and there are a few packages I am fine with having in the top-level pyenv version, rather than in any particular virtual environment: black, requests, click, etc.