Bill Burns <[EMAIL PROTECTED]> wrote:


> 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
Thanks but that doesn't really change anything, still getting the unwanted files. I am deleting the old build and dist directories before running py2exe, so I'm sure they aren't being mixed in with the new.


Stay in the know. Pulse on the new Yahoo.com. Check it out.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to