[xml] Better fix for bug #155468?


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?


Attachment: generator.diff
Description: generator.diff

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]