pjenvey is right: setuptools just relies on distutils which relies on os.uname
which relies on the underlying operating system. Unfortunately if you are on
the amd64 architecture then Linux returns 'x86-64' while Windows returns
'amd64'. It seems to me that the Lib/platform.py module should unify this so
that you get the same string denoting that particular 64-bit CPU architecture
regardless of what operating system you are on. I guess this calls for a patch
to Lib/platform.py to get the return value from invoking 'uname' on Linux,
checking if the answer was 'x86-64' and replacing it with 'amd64'?
|