[Pythonmac-SIG] locating Python.h
Boyd Waters
bwaters at nrao.edu
Thu May 15 00:40:11 CEST 2008
On May 14, 2008, at 2:43 PM, Michael VanLandingham wrote:
> gcc on the command line or makefile, then you need to add the right
> flags so that it can find the framework
The Python framework that ships with OS X is already in the search
path, so all you'd need is
-framework Python
added to your GCC command line.
I'm using Python 2.5.2 at the moment, which is built as a framework
at /opt/local/lib/Python.framework, so I use
-F/opt/local/lib -framework Python
and I'm good.
More information about the Pythonmac-SIG
mailing list