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.

Thanks.

We need to fix find_tk_darwin for Tcl/Tk when installed as framework and
when installed as non-framework (in macports it is installed as
non-framework).

I will ask you again for testing when it is fixed.

-- 
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