[Pyrex] setup.py detection of .pxd changes

David McNab rebirth at orcon.net.nz
Tue Nov 27 20:06:00 CET 2007


On Tue, 2007-11-27 at 20:00 +1300, Greg Ewing wrote:
> What I eventually want is for the Pyrex
> compiler itself to track dependencies in a Make-like
> way

That brings me to a suggestion - would be nice if both Pyrex and Cython
could detect changes in .pxd files and use that to trigger compilation
of the associated .pyx files and all other files which cimport from
the .pxds.

As it is, if I change a .pxd I have to manually touch its .pyx. Worst
case is I have to nuke the build dir and make from scratch.

Cheers
David






More information about the Pyrex mailing list