[PATCH 3 of 3] docs/installation: clarify root privileges requirement for 'pip install'
Thomas De Schampheleire
patrickdepinguin at gmail.com
Mon Mar 16 14:35:36 EDT 2015
On March 16, 2015 6:28:05 PM CET, Andrew Shadura <andrew at shadura.me> wrote:
>Hi,
>
>On 15 March 2015 at 14:06, Mads Kiilerich <mads at kiilerich.com> wrote:
>>> It really does work, it installs packages into ~/.local, which is
>>> useful if you just want to test things out, and if you do want to
>mix
>>> your system packages with locally installed ones.
>
>> How does it work? Will the global installation of pip hook into
>Python
>> startup and inject packages from .local in sys.path? How about
>executable
>> scripts - where are they placed?
>
>I think it's present there always. At least, I don't need to specify
>any option to load packages from ~/.local. Executable scripts are
>installed into ~/.local/bin.
>
>> Either way, I understand that pip --user still will install the
>packages in
>> a shared location. That will make it very hard to uninstall or "start
>over".
>> I guess it also makes it impossible for the a user to have more than
>one
>> Kallithea instance.
>
>It is very easy to do that. Just drop ~/.local, switch to another user
>or anything like that.
>
Switching to another user can hardly be called a graceful removal.
Deleting the directory just like that isn't possible if the user has installed other
packages than kallithea with this method as he may want to keep these other
packages...
Best regards,
Thomas
More information about the kallithea-general
mailing list