[issue4064] distutils.util.get_platform() is wrong for universal builds on macosx
Ronald Oussoren
report at bugs.python.org
Tue Oct 7 21:52:57 CEST 2008
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
The basic idea is that the architecture bit of get_platform() should
tell you something about the archicture for which a build is valid.
That's why 'i386' or 'ppc' is not very useful for a universal build. The
original author of the universal binary support choose 'fat' as the
architecture designator for universal builds ("fat binaries").
Somewhere along the way the calculation of the architecture string got
messed up, resulting in the current situation. That is, the current
situation is not as designed by the original author of the universal
binary support code.
Another reason for fixing this is that setuptools uses the platform
designator of the current system and a downloaded binary archive to
determine if the two are compatible. In the current situation univeral
binary distributions built on a PPC system don't work on an i386 system
(as far as setuptools is concerned).
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4064>
_______________________________________
More information about the Python-bugs-list
mailing list