[Distutils] Don't Use `sudo pip install´ (was Re: [final version?] PEP 513…)

Nathaniel Smith njs at pobox.com
Wed Feb 17 22:17:43 EST 2016


On Tue, Feb 16, 2016 at 6:12 PM, Glyph Lefkowitz
<glyph at twistedmatrix.com> wrote:
> Here, I'll make it for you.  Assuming virtualenv is installed:
>
> python -m virtualenv /usr/lib/supervisord/environment
> /usr/lib/supervisord/environment/bin/pip install supervisord
> ln -vs /usr/lib/supervisord/environment/bin/supervisor* /usr/bin
>
>
> More tooling around this idiom would of course be nifty, but this is really
> all it takes.

Maybe

  pip install --self-contained=/opt/supervisord supervisord

should do something like this?

-n

-- 
Nathaniel J. Smith -- https://vorpus.org


More information about the Distutils-SIG mailing list