On Mar 7, 2010, at 9:53 AM, Daniel Johnson wrote:

> Note that "machine" is i386 even on x86_64.

You can use the struct package to guess what architecture Python is running on. 
The following code gives you an idea:

import struct
word_size = struct.calcsize('P')*8

So it will be 64 for x86_64 and 32 for i386. I've used to work around some 
cases where distutils was doing the wrong thing.

Pepe
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to