You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cython-users
Hi all,
we started using heavily cython relying on the pyximport facility.
Unfortunately the lack of dependencies tracking makes the daily work a
bit
annoying (change a pxd file -> run -> segfault -> rebuild -> enjoy).
We think that a possible solution could be:
* every time a pxd file is modified pyximport writes in a private
file
(under ~/.pyxbld) a list of dependencies
* a subsequent invocation of pyximport passes the list of
dependencies to the
distutils.extension.Extension constructor
Maybe Cython.Build.Dependencies.parse_dependencies could be used to
extract the
dependencies list.
If you think that it can work I can write a patch.
david
Robert Bradshaw
unread,
Mar 25, 2011, 2:07:49 PM3/25/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cython...@googlegroups.com
Yes, I think that would be great. The functionalities of pyximport and Cython.Build probably overlap more than that (e.g. .pyx file -> Extension object, and this could handles other distutils options as well.)