distutils: How handle header files??? Got any examples?
Gerhard Häring
gh at ghaering.de
Thu Oct 9 19:13:05 EDT 2003
Christian Seberino wrote:
> (distutils question)
> I know how to configure C code with Extension class in setup.py.
>
> But, how do you handle header files??.. Do you mention them in your
> Extension(...) line?? [...]
No, just use them in your C files with
#include "myheader.h"
and put them in the same directory where your C files and your setup.py
are located.
Nothing more to worry about.
-- Gerhard
More information about the Python-list
mailing list