[Cython] cross project cimport

Robert Bradshaw robertwb at math.washington.edu
Tue Jun 17 23:59:12 CEST 2008


Copying over the .pxd file should work fine (that's what they're for)  
but you should also be able to set an include directory.

On Jun 17, 2008, at 12:56 PM, Brian Granger wrote:

> Hi,
>
> I am wondering if cross project cimports will work or if any thought
> has gone into making this work.  Basically, mpi4py has a pxd file I
> need to cimport it in a completely different project.  One option is
> to copy it over to the other project, but that is quite annoying as it
> includes a bunch of pxi files and these would need to be copied over
> as well.  Any thoughts on this?
>
> Thanks
>
> Brian
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev



More information about the Cython-dev mailing list