[Cython] cross project cimport

Stefan Behnel stefan_ml at behnel.de
Wed Jun 18 08:09:14 CEST 2008


Hi,

Brian Granger wrote:
> It would be nice if mpi4py could install its MPI.pxd and mpi.pxi files
> and then we could do:
> 
> cimport mpi4py.MPI

The mpi4py project can do that in their setup.py by making the public files
package data. I don't currently know if Cython searches the standard package
directory of Python (site-packages), but if not, it would be a good idea to
enable that.

Stefan




More information about the Cython-dev mailing list