Apple ships its own version of Python with OS X. However, we strongly recommend installing the official Python distribution.
Of course, I wasn't gonna do that. There are other recommendations: that you really ought to get readline (somehow better than what comes with OS X), that you should get and use gcc-4.0 (only gcc-4.2 on Lion that I could find), that you should set LDFLAGS and FFLAGS and so on. I ignored it all.
The build fails with
SWIG installation (download here) was a bit of a hiccup:
Back to SciPy and
python setup.py build
and problems as described here. I'm not too swift with this svn/git stuff so rather than find the patched version I just patched the files:add
#include <complex.h>
to each of:And it seems to have built:
I'll look into to testing it tomorrow.