[Distutils] specifying headers for an extension
Thomas Heller
thomas.heller@ion-tof.com
Tue Mar 5 09:15:11 2002
> > Extension(...,
> > sources = SourceFile("spam.c", depends=["spam.h", "spam2.h"]))
>
>
> You mean
>
> sources = [SourceFile("spam.c", depends=["spam.h", "spam2.h"])])
>
> here, right?
Sure.
>
> > I can supply a patch if needed.
>
> That's the only way this is going to get done...
Ok, will do.
> I had some crazy ideas to use "gcc -MMD" to create a database of
> dependencies, so this sort of thing could be done automagically, but
> this is work.
Even more work than it may seem first, because it has to be done for
other compilers as well...
Thomas