
On Thu, 21 Jul 2022 at 11:07, Simão Afonso <simao.afonso@powertools-tech.com> 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
On 2022-07-21 09:55:21, Paul Moore wrote: 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