I have written a Python extension library in C and I am currently using distutils to build it. I also have a Python script that generates a .h file, which I would like to include with my extension.
Is it possible to setup a dependency like this with distutils? Will it be able to notice when my script changes, regenerate the .h file, and recompile the extension?