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

> On 2022-07-21 09:55:21, Paul Moore wrote:
> > A practical approach may be to develop some form of library that "hides"
> > the difference behind some form of API for finding the correct value, get
> > that added to the stdlib and wait a few years until it's adopted
> everywhere
> > (because it's so well-designed and convenient ;-)) Then, you can change
> the
> > location. But at that point no-one will care, because they don't ever
> > reference the actual location, they just use the API anyway :-)
>
> I think an option when creating the "venv" (something like "--bin-name
> bin", or "--use-bin") is enough. Whatever creates the environment also
> handles the fact that "bin" is on the "right" location now.
> If you don't control the venv creation, you just use the default,
> or accept a similar option.
>

How would that work? Would the value of bin-name be stored somewhere and
then all tools would need to refer to that rather than just selecting based
on platform like now? You'd still need to change all the tools, or your
choice of directory simply wouldn't make any difference...

Paul
_______________________________________________
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/25NVGOC53RXZC4U2KGQELO6FCXRB6EGL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to