Differences between revisions 2 and 3
Revision 2 as of 2004-01-27 13:42:46
Size: 517
Editor: cache1-1-ffm-vpn
Comment: grammer corrected
Revision 3 as of 2004-01-31 23:23:14
Size: 787
Editor: pD9018542
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
And I found one, with help of Thomas:
I included SimpleXMLServer, which itself has a conditional import of pydoc, which has a conditional import of tkinter.
But conditional or not, I do not want tkinter in my distribution. So I staid with my solution
ham 2004-02-01

Problem

I use wxPython for my GUI. Modulefinder / py2exe nonetheless decides that tkinter and tcl have to be included in my distribution.

Explanation

??? I would like one, really. And I found one, with help of Thomas: I included SimpleXMLServer, which itself has a conditional import of pydoc, which has a conditional import of tkinter. But conditional or not, I do not want tkinter in my distribution. So I staid with my solution ham 2004-02-01

Solution

Extend the exclusions

   1 excludes = ["pywin", "pywin.debugger", "pywin.debugger.dbgcon",
   2             "pywin.dialogs", "pywin.dialogs.list", 
   3             "Tkconstants","Tkinter","tcl"
   4             ]

the relevant line is

            "Tkconstants","Tkinter","tcl"

HAM 20040127

TkInter (last edited 2008-07-08 11:27:43 by localhost)