[Distutils] Header dependencies when building extensions

Nick Patavalis npat@inaccessnetworks.com
Tue Dec 10 08:54:02 2002


Is there a way to specify (or even better, have "distutils"
automatically deduce) header dependencies when building an extension?

If, for example, the "foo" extension is built from "foo.c" which
includes "foo.h", how can I make distutils rebuild the extension when
"foo.h" changes?

Thanks in advance
/npat

-- 
A commune is where people join together to share their lack of wealth.
  -- Richard M. Stallman