vallis.org: Michele's wikiblog

The system python is 2.5.1 (r251:54863, Oct 5 2007, 21:08:09) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin. It sits in /System/Library/Frameworks/Python.framework/Versions/2.5. Note that the MacPython 2.5 install used to sit in /Library/Frameworks/Python.framework/Versions/2.5

It includes numpy 1.0.1, and other interesting packages, such as setuptools (easy_install is in /usr/bin). The packages are in /System/Library/Frameworks/Python.framework/Versions/2.5/Extras.

SWIG 1.3.31 is also included.

GCC is 4.01.

The original Apple page about compiling for multiple architectures.

Some notes on doubly-fat binaries in Leopard. The PPC 64-bit seems to fail for GSL on Leopard. Also the build referencing the 10.4u Framework seems to fail (but I'm not sure if I replaced it at the time of installing Leopard, or not).

Apple claims that python setup.py will compile for the architectures specified in ARCHFLAGS. (On Leopard only, on Tiger one needs to change CFLAGS and LDFLAGS.) The default is both ppc (actually, ppc7400 on my iMac) and i386. The Leopard Python interpreter itself is ppc7400 and i386.

Problem with ipython 0.8.2 history recall. Need to get this egg and copy the files inside it to lib/python2.5/site-packages, or just do easy_install readline.

Aug 02, 2009

python-leopard (/osxtricks)
2009-08-02, 10:19 [edit]


  Login:   Password:   [rss] [cc] [w3] [css]

© M. Vallisneri 2012 — last modified on 2010/01/29

Tantum in modicis, quantum in maximis