[Pyrex] setup.py detection of .pxd changes
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Nov 28 01:46:21 CET 2007
David McNab wrote:
> 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.
Yes, that's exactly what I'm talking about. It'll
take a bit of work -- probably I'll have to keep an
auxiliary file listing all the dependencies of a
given .pyx.
> As it is, if I change a .pxd I have to manually touch its .pyx.
You can use a Makefile for this in the meantime
if you want, and then just use distutils for the
c compilation.
--
Greg
More information about the Pyrex
mailing list