[Numpy-discussion] Cython distutils
Tue Sep 14 08:57:48 CDT 2010
On 14 September 2010 02:19, Robert Bradshaw
> I've pushed an implementation of
> http://wiki.cython.org/enhancements/distutils_preprocessing . This
> allows one do write, e.g.
> module_list = cythonize("*.pyx")
What happens if you run 'python setup.py --help', for example? Will
that trigger cythonization?
> in your setup.py, and it handle the .pyx dependencies (including
> transitive dependence of libraries) and does all the .pyx -> .c
> translation. (In particular, this does away with the need for a
> customized build_ext extension, which is especially nice for projects
> their own. There are also mechanisms for specifying more build
> information in the source file itself--see
> for an example. This will also be useful for non-distutils setups
> (e.g. pyximport and inline code).
> Try it out and let me know what you think in terms of features and API.
> - Robert
> NumPy-Discussion mailing list
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
More information about the NumPy-Discussion