[Pythonmac-SIG] py2app quirk

Russell E. Owen rowen at cesmail.net
Thu May 25 20:15:02 CEST 2006


I'm using py2app to bundle a Tkinter application. The one package 
explicitly included is matplotlib (which is a bit of a pain due to the 
need to explicitly add its data files).

Anyway, I stumbled across a new wrinkle today: one of my scripts that 
uses matplotlib would not load because the module FileDialog (from 
lib-tk) was not available.

Simply adding it to the module list fixed the problem but it seems odd 
that it would be needed. Based on the traceback it was clearly 
matplotlib trying to load FileDialog (I never use it myself since I have 
a custom class for this).

This is just a heads up. I have no idea if there's anything that could 
or should be changed in py2app. At least the error message is clear and 
the solution obvious.

-- Russell

P.S. configuration: py2app 0.2, ActivePython 2.4.3 (build 11 for PPC) 
and MacOS X 10.4.6.



More information about the Pythonmac-SIG mailing list