<snip> > I've tried to follow the py2exe wiki instructions on how to trim this > out, http://www.py2exe.org/index.cgi/TkInter, but I seem to be doing > something wrong. Here's my setup.py--- > > from distutils.core import setup > import py2exe > > excludes = ["pywin", "pywin.debugger", "pywin.debugger.dbgcon", > "pywin.dialogs", "pywin.dialogs.list", > "Tkconstants","Tkinter","tcl", > "_imagingtk", "PIL._imagingtk", "ImageTk", "PIL.ImageTk", > "FixTk"] > > setup(windows=['ob_portrait.pyw'])
Try changing your setup line to this: setup(windows=[{'script':'ob_portrait.pyw','excludes':excludes}]) HTH Bill _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor