[Pythonmac-SIG] Leopard python architectures in setup.py

Ronald Oussoren ronaldoussoren at mac.com
Fri Nov 2 08:03:43 CET 2007


On 1 Nov, 2007, at 17:32, William Kyngesburye wrote:

> (Is it OK to ask about Apple's Leopard Python 2.5?)
>
> I'm a little confused about the 64bit-ness of Apple's Python 2.5.  I
> see that the framework is, but the python executable is only universal
> 32bit.  The modules (lib/python2.5/lib-dynload) and extras are a mix
> of 64bit and non-64bit, I presume because some depend on Carbon, which
> is not 64bit).
>
> When I build a package with setup.py, it always seems to build
> universal non-64bit, even though I've checked that the extras that it
> depends on (numpy) are 64bit-capable.
>
> Is there a way to get setup.py to build 64bit?  I'm just building a
> package from source, and don't really know much about developing
> python extensions.

As you've noticed the actual framework is 64bit but the commandline  
tools are not. It should be easy enough to add 64-bit command-line  
tools as well, but even then you'll have to add extra arguments to  
build 64-bit extensions (as Boyd mentions).

Ronald
>
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "I ache, therefore I am.  Or in my case - I am, therefore I ache."
>
> - Marvin
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20071102/b2b761fb/attachment-0001.bin 


More information about the Pythonmac-SIG mailing list