[Pythonmac-SIG] Working with Bundlebuilder.py

Just van Rossum just@letterror.com
Tue, 8 Apr 2003 20:58:59 +0200


Kevin Ollivier wrote:

> I've been working with the latest version of bundlebuilder.py, but
> recently I've been having trouble with the PyXML package. When I run
> the script using PythonLauncher, everything starts up fine, but when
> I try to run the .app bundle created by bundlebuilder.py, I'm getting
> errors about xml.parsers.expat.ParserCreate() not being available.
> I've added both _xmlplus and xml to the list of explicitly named
> packages to import, but with no success. (Although interestingly
> enough, if I add the xml package I get errors about the Sax parser
> not being available instead of the expat messages.) (P.S. Robin, I am
> not importing wxPython.xrc.)

Did you try the -v option of bundlebuilder.py? It should tell you
exactly which modules got included. Perhaps this should give us a clue.

Just