[Cython] automating inplace extension build with distutils
Lisandro Dalcin
dalcinl at gmail.com
Sun Apr 13 00:34:21 CEST 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cy2py
Type: application/octet-stream
Size: 1240 bytes
Desc: not available
Url : http://codespeak.net/pipermail/cython-dev/attachments/20080412/8c0c261e/attachment.obj
More information about the Cython-dev
mailing list