Clone this wiki locally
CEP 106 - Package pxds for common libraries with Cython
- Cython now ships (as of 0.9.8.1.1) with the following standard .pxd's:
Cython should ship with a list of .pxd files for standard libraries, so that users can get up and running quickly rather than having to wrap their own. They could just do "cimport numpy" and it would find numpy.pxd in the cython-shipped include directory (although they would of course have to have numpy on their system to make it actually work). Pluggins, if needed, would be provided as well. Libraries to link and needed compile flags could be specified in these pxd files (see the build enhancement proposal)
- To start, it would be nice to wrap:
- The basic clib functions (stdio, stdmath, stdlib, etc).
- The Python/C API (we already have this. Hopefully users won't need it much)
(This list is partially motivated by the fact we have much of this done already in Sage.)