Size: 518
Comment: no tk needed
|
Size: 928
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
I use wxPython for my GUI. Modulefinder / py2exe nonetheless decides that tkinter and tcl has to be included into my distribution. | I use wxPython for my GUI. Modulefinder / py2exe nonetheless decides that tkinter and tcl have to be included in my distribution. |
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 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
the relevant line is
"Tkconstants","Tkinter","tcl"
HAM 20040127