[Cython] distutils rebuild on updated dependencies
Stefan Behnel
stefan_ml at behnel.de
Fri Mar 14 10:43:12 CET 2008
Hi,
based on a problem description by Arc Riley, here's a simple patch that adds
dependency support to Cython's build_ext implementation (distutils).
It allows you to simply add all .pxd and .pxi files that your .pyx depends on
to the list of module sources, and have Cython rebuild your module when the
dependencies are updated.
It does, however, not deal with the case of multiple .pyx files with separate
dependencies that build a single module. But that could be added through a
convention in the source order.
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distutils-dependencies.patch
Type: text/x-patch
Size: 1880 bytes
Desc: not available
Url : http://codespeak.net/pipermail/cython-dev/attachments/20080314/b042c7bd/attachment.bin
More information about the Cython-dev
mailing list