[SciPy-dev] swig vs. f2py

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Nov 10 02:46:38 CST 2005

Pearu Peterson wrote:
>On Wed, 9 Nov 2005, Robert Cimrman wrote:
>>Is it ok to use swig with scipy? I assume the asnwer is yes, because of
>>the *.i files in both newcore and newscipy, but asking never hurts... :)
>It is ok and is encouraged.
>However, the generated sources should be commited to the repository as 
>well. This is because we cannot assume that swig or pyrex or an other such 
>tool is installed. And with scipy.distutils we could add an option to 
>setup.py file that the swig-generated sources will be regenerated in
>source tree when .i files are changed.
>With f2py things are a bit different. f2py is a pure python package and 
>included to newcore.
BTW, is there a difference between f2py in newcore and f2py available via
cvs -z6 -d :pserver:anonymous at cens.ioc.ee:/home/cvs checkout f2py2e


>Scipy-dev mailing list
>Scipy-dev at scipy.net


More information about the Scipy-dev mailing list