#27 Fix import tkinter

open
nobody
None
5
2012-02-18
2012-02-18
Christoph Gohlke
No

Index: py2exe/build_exe.py

--- py2exe/build_exe.py (revision 692)
+++ py2exe/build_exe.py (working copy)
@@ -1094,7 +1094,7 @@

tcl_src_dir = tcl_dst_dir = None
if "Tkinter" in mf.modules.keys():
- import tkinter
+ import Tkinter
import _tkinter
tk = _tkinter.create()
tcl_dir = tk.call("info", "library")

Discussion

  •  
    Attachments