mitsuhiko/pipsi

use /usr/local when running as root

Aperta

#69 aperta il 18 feb 2016

 (14 commenti) (0 reazioni) (0 assegnatari)Python (135 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (1994 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Starting here: http://thread.gmane.org/gmane.comp.python.distutils.devel/25267/focus=25436

there was some discussion of the fact that sudo pip install is a bit of an antipattern.

I raised pipsi as a possible replacement.

One issue though is that pipsi defaults to ~ even when running as root.

Do you think it would be reasonable to make pipsi, when run as root, do the equivalent of pipsi --home=/usr/local/pipsi/environments --bin-dir=/usr/local/bin ?

Guida contributor