#6 Mention expat in documentaion

open
nobody
None
5
2003-10-15
2003-10-15
Mike Thompson
No

Environment: py3.2 and py2exe v0.4.2

Using expat in a py2exe packaged program will result in
a runtime exception:
"SAXReaderNotAvailable: No parsers found".

Unless ... on the command line of the build, one has
something like:

"--includes xml.sax.drivers2.drv_pyexpat"

I'm a relative newbie, so I had to fight hard to
understand the problem and find the cure. I could find
nothing through google (other than someone else with
the same problem), so I'd like to suggest that this
information its added to the documentation .... er,
somewhere. It must be an FAQ, surely?

BTW, this module has to be explicitly included because it
gets loaded through a call to __import__ . See
_xmlplus.sax.saxexts.py, line 42.

Thanks for a great tool. I hope this suggestion helps to
make py2exe that bit more accessible to the masses.

Discussion