Paul Everitt wrote:
Today I wanted to try out some of the ideas from your project at Berlios. However, building from scoder2 (which previously worked ok) now gives:
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/command/build_ext.py", line 442, in build_extension sources = self.swig_sources(sources, ext) TypeError: swig_sources() takes exactly 2 arguments (3 given) make: *** [inplace] Error 1
Hmm, I remember that I had the same problem a while ago, but I can't remember what I did to solve it. I think it wasn't related to lxml, but an inheritance problem somewhere between Pyrex and distutils. Something imported something from somewhere :) that was accidentally used as a baseclass instead of the intended one. That's why swig_sources has the wrong number of arguments, it is defined in two different places. Have you tried "make clean" and all? Note also that lxml now uses setuptools if available. I tried building with and without setuptools and couldn't reproduce it now. Stefan