[Pyrex] pyrex imcompatibility with SWIG/setuptools

Jesus Cea jcea at argo.es
Mon Oct 15 23:23:10 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've spend some time investigating a strange error in setuptoold
(easy_install). Something like:

"""
...
  File
"/usr/local/lib/python2.5/site-packages/setuptools-0.6c7-py2.5.egg/setuptools/command/build_ext.py",
line 46, in run
  File "/usr/local/lib/python2.5/distutils/command/build_ext.py", line
290, in run
    self.build_extensions()
  File
"/usr/local/lib/python2.5/site-packages/Pyrex-0.9.6.2-py2.5.egg/Pyrex/Distutils/build_ext.py",
line 82, in build_extensions
    self.build_extension(ext)
  File
"/usr/local/lib/python2.5/site-packages/setuptools-0.6c7-py2.5.egg/setuptools/command/build_ext.py",
line 175, in build_extension
  File "/usr/local/lib/python2.5/distutils/command/build_ext.py", line
453, in build_extension
    sources = self.swig_sources(sources, ext)
  File
"/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.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
                               _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRxPaPplgi5GaxT1NAQJZDAP/cb+529mhThKKt57LkBdVKCQOr0R4a4Ke
AzjUV8vMN7BzpmZbKHMlkegj/gMWgJqemjgLMc90+dKQmeTQ8mliDuUkjmtjodJ6
fi+RtYfRnkaK8CiTLF3TBnnkF7YgGo30kf6J1iFJJNQ7OETRWhcfJP5WDjDjgYYK
9HJjcfnqLak=
=AFMg
-----END PGP SIGNATURE-----



More information about the Pyrex mailing list