[Cython] cross project cimport
Lisandro Dalcin
dalcinl at gmail.com
Wed Jun 18 19:11:45 CEST 2008
On 6/18/08, Stefan Behnel <stefan_ml at behnel.de> wrote:
> The mpi4py project can do that in their setup.py by making the public files
> package data.
I'm just implementing that...
> 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.
Not sure about this (think about eggs!!). IMHO, the best way to go is
the NumPy way. If I do:
import mpi4py
mpi4py_include = mpi4py.get_include()
then I get a path that I sould pass to Cython and C compiler with -I
flag and then all just work.
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
More information about the Cython-dev
mailing list