On Sat, 13 Jan 2018 21:06:19 +0100
Christian Heimes <christ...@python.org> wrote:
> >>
> >> I see two option:
> >>
> >> 1) "pip install --user" is no longer supported. You have to learn how to
> >> use virtual envs. It's really easy: "python3 -m venv path; path/bin/pip
> >> install package".
> >> 2) "pip install --user" automatically creates or uses a custom virtual
> >> (~/.pip/virtualenv-$VERSION/) and links entry points to ~/.local/bin.  
> > 
> > Option 2 doesn't work, since the installed package then isn't known to
> > the system Python.  
> 
> I see that as a benefit. User installed packages will no longer be able
> to break system-wide programs.

I don't know if it's better or worse.  I'm just saying it's not a
migration path from user site-packages since it doesn't have the same
semantics.

> These days a lot of packages are using setuptools' entry points to
> create console scripts. Entry point have no option to create a console
> script with -s or -I flag. 

Perhaps that should be fixed.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to