python2.4 hoary /usr/lib/python2.4/distutils/command error

Bug #11340 reported by Steve Parkes
4
Affects Status Importance Assigned to Milestone
pyrex (Ubuntu)
Fix Released
Medium
Matthias Klose

Bug Description

when attempting to install new modules not yet ported to 2.4 setup fails with an
error on line 442 of /usr/lib/python2.4/distutils/command

A temporary fix that seems to work ;-) was to change change line 442 to

sources = self.swig_sources( sources)

and line 505 to

def swig_sources (self, sources, extension=""):

The error seems to be in the setting of the extension

Revision history for this message
Steve Parkes (sparkes) wrote :

/usr/lib/python2.4/distutils/command/build_ext.py is the file to edit to get a
temporary fix.

Revision history for this message
Matthias Klose (doko) wrote :

please could you name a package/version where the configuration fails?

Revision history for this message
Steve Parkes (sparkes) wrote :

The package I build most often is soya3d from CVS.

https://gna.org/cvs/?group=soya

This is the package I notice the problem most.

Revision history for this message
Matthias Klose (doko) wrote :

fixed in pyrex_0.9.3-1ubuntu3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.