Hi all Just posted this bug but the bug-tracker would not allow me to upload the patch. I've enclosed it here. If this could be committed ASAP it would be great because I have some code that needs to checkout a working version from SVN to work.
Thanks Jamie 2009/5/13 Pyinstaller <[email protected]> > #58: bindepend.py does not cope with relative dependencies specified with > @executable_path > > --------------------------------------+------------------------------------- > Reporter: [email protected] | Owner: giovannibajo > Type: defect | Status: new > Priority: normal | Milestone: PyInstaller 1.4 > Component: PyInstaller | Version: PyInstaller 1.2 > Severity: blocker | Keywords: osx dependencies > > --------------------------------------+------------------------------------- > On OSX, dependencies are found using otool. The dynamic linker on OSX > allows for dependencies to be specified relative to the path of the binary > as it is installed on the target filesystem. This is done using > @executable_path to prefix the dependency path at compile time. > > The patch enclosed allows bindepends.py to resolve these paths properly. > I found this problem when using PyInstaller under a python virtualenv on > OS X: under these circumstances, the Python framework binary is copied > into the virtualenv and the python binary itself is altered to look for > the framework binary at @executable_path/../.Python. > > Under the current code the path is not resolved at all, but with my patch > resolution succeeds. There is a subsequent issue that still needs > resolving which is that virtualenv changes the name of the Python > framework binary (from Python to .Python) which is not compatible with > launch.c. I think the solution in this case is to get virtualenv changed > so it does not change the name however. > > -- > Ticket URL: <http://www.pyinstaller.org/ticket/58> > Pyinstaller <http://www.pyinstaller.org> > PyInstaller Project -- Jamie Kirkpatrick 07818 422311 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
executable_path.patch
Description: Binary data
