[Distutils] How handle header files?

seberino at spawar.navy.mil seberino at spawar.navy.mil
Thu Oct 9 19:00:49 EDT 2003


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??

It seems you must

1. Treat them like data files and put them *somewhere*.

2. Now you must add -I<path> command to compilation of .c files
   that points there.

An example of this or pointers would be VERY nice.

Chris
--
_______________________________________

Christian Seberino, Ph.D.
SPAWAR Systems Center San Diego
Code 2872
49258 Mills Street, Room 158
San Diego, CA 92152-5385
U.S.A.

Phone: (619) 553-9973
Fax  : (619) 553-6521
Email: seberino at spawar.navy.mil
_______________________________________



More information about the Distutils-SIG mailing list