[Pyrex] pyrex imcompatibility with SWIG/setuptools

Phillip J. Eby pje at telecommunity.com
Tue Oct 16 00:19:31 CEST 2007


At 11:23 PM 10/15/2007 +0200, Jesus Cea wrote:
>"/usr/local/lib/python2.5/site-packages/setuptools-0.6c7-py2.5.egg/setuptools/command/build_ext.py",
>line 77, in swig_sources
>TypeError: swig_sources() takes exactly 3 arguments (2 given)
>"""
>
>Deleting pyrex in my system, solves the issue. Doing a google search
>shows that the issue seems to be caused by pyrex definition of
>"swig_sources". Seems pyrex has not followed the parameter list changed
>for "swig_sources" some time ago.

Actually what happened is that Pyrex originally had this problem, 
then fixed it, then removed the method altogether in 0.9.6, making 
setuptools' attempt to work around the problem no longer work 
correctly.  I have a setuptools fix in the pipeline to correct this.




More information about the Pyrex mailing list