Hi Lynn,
could you please test latest dev version with the fix for @loader_path?
I just commited the proper fix for that.
Could you please summarize how hook-_tkinter.py should be fixed?
Thanks,
Martin
Lynn Oliver píše v Pá 06. 04. 2012 v 00:57 -0700:
> That seemed to do the trick. It now creates a an executable that runs. I'm
> not sure why the executable is so much smaller than the onedir, so I'll have
> to run it through some testing to see if everything works. It didn't pick up
> the matplotlibrc file, so I'll have to figure out if there is a way to get
> that loaded into the default directory.
>
> Will this change eventually make it into the library? How about an update to
> hook-_tkinter.py?
>
> Thanks again for the help...
> Lynn
> On Apr 5, 2012, at 3:38 PM, Martin Zibricky wrote:
>
> > Lynn Oliver píše v Čt 05. 04. 2012 v 09:34 -0700:
> >> Same result with latest dev version of Pyinstaller.
> >
> > Probably last think to try. Please try to do the following change and
> > let me know if it works for you:
> >
> >
> > diff --git a/PyInstaller/depend/dylib.py b/PyInstaller/depend/dylib.py
> > index 19ce8dd..ccccc06 100644
> > --- a/PyInstaller/depend/dylib.py
> > +++ b/PyInstaller/depend/dylib.py
> > @@ -202,7 +202,7 @@ def mac_set_relative_dylib_deps(libname):
> > if not util.in_system_path(pth):
> > # Use relative path to dependend dynamic libraries bases on
> > # location of the executable.
> > - return os.path.join('@executable_path',
> > os.path.basename(pth))
> > + return os.path.join('@loader_path', os.path.basename(pth))
> >
> > # Rewrite mach headers with @executable_path.
> > dll = MachO(libname)
> >
> >
> > --
> > 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.
> >
>
--
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.