Ned Deily <n...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11623>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to