[Distutils] Specifying a dependency for rebuilding an extension?

Mike Fletcher mfletch@tpresence.com
Mon Dec 11 03:35:01 2000


I've just noticed that with PyOpenGL, changing a source file that's included
by the "declared" source file for an extension doesn't cause the
recompilation of the extension.

i.e.
	_openglmodule.c
	_opengl_nummodule.c # includes _openglmodule.c

The extension only declares _opengl_nummodule.c as a source file.  Is there
some way to declare that the "rule" for the extension should trigger if the
given file has changed?

Is there a better way? Thoughts appreciated,
Mike

__________________________________
 Mike C. Fletcher
 Designer, VR Plumber
 http://members.home.com/mcfletch