[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as "universal"
Ned Deily
report at bugs.python.org
Fri Mar 25 07:17:08 CET 2011
Ned Deily <nad at acm.org> added the comment:
A similar issue on StackOverflow reminded me that Distutils has support for the ARCHFLAGS environment variable on Mac OS X which you can use when building a C extension module to override the ARCH values that Python was built with. I don't have Xcode 4 installed yet to verify this but you may be able to work around the problem by something like:
ARCHFLAGS='-arch i386 -arch x86_64' /usr/bin/python2.6 setup.py install
when using the Apple-supplied Python 2.6 or:
ARCHFLAGS='-arch i386' /usr/local/bin/pythonx.x setup.py install
when using a 32-bit-only python.org Python.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11623>
_______________________________________
More information about the Python-bugs-list
mailing list