Hi Lynn,

could you please test latest dev version?

There is now committed a fix for the tcl/tk hook to work on Mac
properly.

Let me know if it still works for you.

Thanks in advance.

Martin.

Lynn Oliver píše v Pá 04. 05. 2012 v 11:12 -0700:
> Using the latest dev version as-is, I get "Can't find a usable tk.tcl
> in the following directories...."
> 
> Replacing hook-_tkinter.py with the patched version, it works.
> 
> The patch to hook-_tkinter.py replaces:
> 
> def find_tk_darwin(binaries):
>     pattern = re.compile(r'_tkinter')
>     for nm, fnm in binaries:
>         mo = pattern.match(nm)
>         if not mo:
>             continue
>     TCL_root = "/Library/Frameworks/Tcl.framework/Versions/Current"
>     TK_root = "/Library/Frameworks/Tk.framework/Versions/Current"
>     return TCL_root, TK_root
> 
> with
> 
> def find_tk_darwin(binaries):
>     TCL_root = "/Library/Frameworks/Tcl.framework/Versions/Current"
>     TK_root = "/Library/Frameworks/Tk.framework/Versions/Current"
>     return TCL_root, TK_root
> 
> If you look back at the ticket, I believe I added everything there
> regarding install locations for Tcl/Tk.
> 
> Lynn 

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to