Not that anyone is listening, but I have finally got this working. I
set up a new OS X machine with Lion 10.7.1, and I'm doing the build
with pyinstaller-1.5.1 with a couple of modifications:
1. I replaced the OS X bootloader files with the ones from v1.5
2. I added the following patch to Build.py at line 1193:
if self.name is None:
self.appname = "Mac%s" % (os.path.splitext(inm)
[0],)
self.name = os.path.join(SPECPATH, self.appname +
".app")
I: else:
I: self.name = os.path.join(SPECPATH, self.name)
I'm using the Apple versions of Python 2.7 and Tcl/tk 8.5. I
originally started all this to be able to use matplotlib, and I have
that installed and working on the same machine, building from the most
recent sources in the repository.
On Sep 10, 1:06 pm, Lynn <[email protected]> wrote:
> Instead of installing with Brew, I built Python 2.7.2 manually. I now
> have the file /Library/Frameworks/Tk.framework/Versions/8.5/Resources/
> Scripts/tk.tcl,
> that contains "package require -exact Tk 8.5.10".
>
> Config.dat has the following lines:
> 'TCL_dirname': 'Tcl.framework',
> 'TCL_root': '/Library/Frameworks/Tcl.framework/Versions/Current',
> 'TK_dirname': 'Tk.framework',
> 'TK_root': '/Library/Frameworks/Tk.framework/Versions/Current',
>
> and
>
> '/Library/Frameworks/Python.framework/Versions/2.7/Resources/
> Python.app/Contents/MacOS/Python',
> 'pythonDebug': True,
> 'pythonVersion': '2.7.2 (default, Sep 10 2011, 10:33:50) \n[GCC
> 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]',
>
> which matches the version that I built this morning.
>
> But I am still having the original problem:
>
> /var/folders/qq/h5gj3f3s0rx41lhd7h0lt2hm0000gn/T//_MEICpTIkB/_MEI/
> Tk.framework/Resources/Scripts/tk.tcl: version conflict for package
> "Tk": have 8.5.10, need exactly 8.5.9
>
> If I look at /System/Library/Frameworks/Tk.framework/Versions/8.5/
> Resources/Scripts/tk.tcl, I see "package require -exact Tk 8.5.9".
>
> Why is Pyinstaller getting this from /System/Frameworks... ?
--
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.