Hi,
Robert Bradshaw wrote:
> Is this just by name? I don't see in here how B.pyx that references
> A.pxd and C.pxi gets its dependancies updated.
Read my post. :)
> On Mar 14, 2008, at 2:43 AM, Stefan Behnel wrote:
>> 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.
This means, you can write
distutils.core.Extension(
"my.module",
sources = [ "my.module.pyx", "other.pxi", "stuff.pxi" ],
...)
So this is explicit in your setup.py, not implicit. You can obviously improve
on this by actually *tracking* dependencies (which my patch does *not* do).
Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev