[Pyrex] Calling Pyrex from another Python module

Nicholas Riley njriley at uiuc.edu
Wed Jan 3 15:49:46 UTC 2007


Hi again,

I've got a large Python extension module written in C (most of which I
didn't write) which I'd like to have call functions in my module built
with Pyrex.  I've already got C code written to interface with my
Pyrex module, which works fine, but it builds into the same .so.  I'd
prefer to keep the two modules separate if possible.

Is there an example (or at least discussion) of how to do this
somewhere?  I've been reading both the Python and Pyrex documentation
and see lots of mentions to things that come close.

Thanks,

-- 
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>



More information about the Pyrex mailing list