[issue38989] pip install selects 32 bit wheels for 64 bit python if vcvarsall.bat amd64_x86 in environment

Steve Dower report at bugs.python.org
Mon Dec 9 14:01:12 EST 2019


Steve Dower <steve.dower at python.org> added the comment:

> maybe you have some relevant context

Nothing you haven't figured out yourself. As you say, they're both private functions, and as we investigated adding a "get_target_platform" function, it turned out that nearly all users were expecting the target platform, so rather than updating everything we added one for the less-common case.

get_host_platform was not defined before, so I'd say use it if it's there and use get_platform if it's not.

I doubt we're going to add any new public/supported APIs to distutils ever again, to be honest.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38989>
_______________________________________


More information about the Python-bugs-list mailing list