[Pythonmac-SIG] locating Python.h

Feat jf at ai.univ-paris8.fr
Fri Apr 4 15:26:13 CEST 2008


At 03:57 -0700 2008/04/04, Ronald Oussoren wrote:
>Use distutils to build python extensions 

Thanks Ronald: I've carefully read the section about building extensions, i.e. [http://docs.python.org/inst/tweak-flags.html ], but this doesn't tell me how to locate the right Python header file, so I'm still stuck with the original problem... which is how to refer to that file in a #include line inside my C program.

I've followed step by step examples from "Core Python Programming" [Wesley J. Chun] and "Programming Python" [Mark Lutz]. They all fail from the beginning, precisely because of the improper included file.

Any other suggestion to work it out?

-- 
Jym Feat ~ Paris FR 75018



More information about the Pythonmac-SIG mailing list