Hi,

The patch to generator.py (v 1.59) to fix bug #155468 breaks setup.py.

Indeed, setup.py runs generator.py by importing it instead of lauching 
it as a script; since setup.py itself has arguments (such as 'build' or 
'install'), generator.py computes a wrong srcPref.

The attached patch computes srcPref based on the location of 
generator.py itself, without requiring an argument.

Does that make sense?

-sbi

Attachment: generator.diff
Description: generator.diff

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to