On Mon, Oct 27, 2014 at 4:27 PM, Sturla Molden <sturla.mol...@gmail.com> wrote: > Glen Mabey <gma...@swri.org> wrote: > >> I chose swig after reviewing the options listed here, and I didn't see >> cython on the list: >> >> http://docs.scipy.org/doc/numpy/user/c-info.python-as-glue.html > > It's because that list is old and has not been updated. It has the > predecessor to Cython, Pyrex, but they are very different now. > > Both SciPy and NumPy has Cython as a build dependency, and also projects > like scikit-learn, scikit-image, statsmodels. > > If you find C++ projects which use Swig (wxPython, PyWin32) or SIP (PyQt) > it is mainly because they are older than Cython. A more recent addition, > PyZMQ, use Cython to wrap C++.
SWIG is a perfectly reasonable tool that is still used on new projects, and is a supported way of building extensions against numpy. Please stop haranguing the new guy for not knowing things that you know. This thread is about extending that support, a perfectly fine and decent thing to do. -- Robert Kern _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion