[xml] Better fix for bug #155468?



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



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