Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#24 Try to import from built-in xml if fail to import from PyXML

open
nobody
None
5
2009-09-25
2009-09-25
Fiona
No

By default, py2exe will only look under site-packages/_xmlplus for xml modules if PyXML is installed.A problem occurs if the module in question only exists in the built-in xml module (e.g. xml.etree).
This patch catches ImportErrors associated with xml, checks that is was looking under _xmlplus, and re-tries by forcing py2exe to look under the built-in xml directory.

Discussion

  • Fiona
    Fiona
    2009-09-25

    Patch for mf.py

     
    Attachments