Differences between revisions 4 and 5
Revision 4 as of 2004-05-14 03:32:48
Size: 928
Editor: mail
Comment:
Revision 5 as of 2004-06-13 06:48:20
Size: 928
Editor: 61
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
I have tried removing the pydoc import in SimpleXMLServer, but py2exe keeps importing tcl. So it must be something else. -- dody wijaya I have tried removing the pydoc import in SimpleXMLServer, but py2exe keeps importing tcl. So it must be something else. -- Dody Wijaya

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

I have tried removing the pydoc import in SimpleXMLServer, but py2exe keeps importing tcl. So it must be something else. -- Dody Wijaya

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)