[Cython] [cython-users] new "cythonize" script

Robert Bradshaw robertwb at gmail.com
Sun Aug 11 08:47:48 CEST 2013


On Sat, Aug 10, 2013 at 11:39 AM, Stefan Behnel <stefan_ml at behnel.de> wrote:

> Hi,
>
> I added a script as "bin/cythonize" that acts as a frontend for the
> cythonize() compilation tool (and distutils' build_ext).
>
> https://github.com/cython/cython/blob/master/bin/cythonize
>
> One cool feature is that you can use it to recursively compile packages:
>
>     cythonize -i -k Cython
>
> will translate, compile and link any .py files it finds in the Cython
> package in-place (-i), ignoring anything that fails to compile (-k). If you
> pass "--lenient", it ignores some compile time errors in favour of Python
> compatibility. It also works on glob patterns etc.
>
> I'm sure there's lots of features missing to make it nicely usable, so
> please give it a try and speak up if you miss something. Improvements (in
> the form of ideas and/or pull requests) are warmly appreciated.
>

Cool. I was actually thinking something like this would be useful; no
complaints you beat me to it :).

- Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20130810/a272df15/attachment.html>


More information about the cython-devel mailing list