I still am dumbfounded that this wasn’t platform I dependent in the first
place, but you know what essay about hindsight.

However, I’m no Windows expert, but I *think* the modern Windows file
system(s?) support something like symlinks. It’s an under-the-hood feature,
but maybe it’s possible to add a symlink for bin.

Maybe I’m wrong, and/or it’s not possible on all file systems Python needs
to support, in which case *nix systems do support linking, so we could
support “Scripts” on all systems.

Just a thought.

-CHB

On Thu, Jul 21, 2022 at 8:26 AM Simão Afonso <
simao.afo...@powertools-tech.com> wrote:

> On 2022-07-21 17:04:16, Svein Seldal wrote:
> >
> https://github.com/pypa/pip/bob/main/src/pip/_internal/locations/_distutils.py#L145-L148
> <https://github.com/pypa/pip/blob/main/src/pip/_internal/locations/_distutils.py#L145-L148>
>
> This actually works great! If the "Scripts" folder does not exist, it
> uses "bin".
>
> >
> https://github.com/pypa/pip/blob/main/src/pip/_internal/utils/entrypoints.py#L48
>
> This is a just a small patch anyway.
> _______________________________________________
> Python-ideas mailing list -- python-ideas@python.org
> To unsubscribe send an email to python-ideas-le...@python.org
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-ideas@python.org/message/JZZ6QJVEJBC4TZF6SUBWD3TUK2RHIRTW/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/S6DMH3SXK53ZLG5DRFIITVAZFVUNW53Y/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to