this is a know fact, pyrex doesn't work with python2.4 try compile the pyrex file (pyx) with 2.3 and then install soya with 2.4
(last time I tried I damaged both my 2.3 and my 2.4 install o:))


On 29 mars 05, at 05:20, BJörn Lindqvist wrote:

I think there is a bug in setup.py which makes it unable to install
with python 2.4. It looks like this:

$ python setup.py build
running build
running build_py
running build_ext
building 'soya._soya' extension
Traceback (most recent call last):
  File "setup.py", line 182, in ?
    data_files   = [(os.path.join("soya", "data"),
File "/tmp/myenv//lib/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
File "/tmp/myenv//lib/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
File "/tmp/myenv//lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
File "/tmp/myenv//lib/python2.4/distutils/command/build.py", line 112, in run
    self.run_command(cmd_name)
File "/tmp/myenv//lib/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
File "/tmp/myenv//lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/tmp/myenv//lib/python2.4/distutils/command/build_ext.py",
line 279, in run
    self.build_extensions()
  File "/tmp/myenv//lib/python2.4/distutils/command/build_ext.py",
line 405, in build_extensions
    self.build_extension(ext)
  File "/tmp/myenv//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)

--
mvh Björn

_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user



Reply via email to