Please take a look at the simple minded script attached. It can build
a Cython pyx file producing an extension module in place.

Perhaps this can serve a starting point of the way of reusing standard
Python distutils to implement the experimental '-C' and '-X'  flag in
a portable way.

The fist part of the script plays with the environment just because I
needed it in the process of developing the new mpi4py (I need to pass
'mpicc'/'mpicxx' as the compiler/linker command). So in general this
is not needed.




-- 
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

Attachment: cy2py
Description: Binary data

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to