mitsuhiko/pipsi

use /usr/local when running as root

开放

#69 创建于 2016年2月18日

 (14 条评论) (0 个反应) (0 位负责人)Python (135 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (1,994 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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 ?

贡献者指南