[Pythonmac-SIG] Where is Python.h on OS X?

Ronald Oussoren ronaldoussoren at mac.com
Sun Jul 11 17:35:06 CEST 2004


On 11-jul-04, at 6:48, Jim Tittsler wrote:

> On Sun, Jul 11, 2004 at 12:31:13AM -0400, gohaku wrote:
>> I am trying to compile the following:
>>
>> // Don't forget to import "pythonXX.lib"!
>> #include <Python.h>
> [...]
>> I looked in /usr/include and could not find any such file.
>
> For 10.3:
> /System/Library/Frameworks/Python.framework/Versions/2.3/include/ 
> python2.3/

... and when you use distutils to build the extension you don't have to  
know the location.

Ronald

>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>
--
X|support bv            http://www.xsupport.nl/
T:  +31 610271479       F:  +31 204416173



More information about the Pythonmac-SIG mailing list