Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install_name_tool doesn't set relative paths for files added using include_files option #31

Closed
anthony-tuininga opened this issue Apr 15, 2013 · 1 comment

Comments

@anthony-tuininga
Copy link
Collaborator

Originally reported by: Adam McNicol (Bitbucket: MrAGi, GitHub: MrAGi)


I encountered this issue whilst trying to build an executable on Mac OS that contains the QSQLite plugin.

I have attached a copy of my setup.py file used to build the application.

Basically it copies the required plugin to a "sqldrivers" directory which is placed inside the application bundle at "Contents/MacOS/"

The Plugin has various dependencies (which can be found using otool) that point outside the app bundle. Using install_name_tool to change these to @executable_path references fixes the issue.

Thomas advised that it may be an issue with cx_Freeze.macdist.setRelativeReferencePaths() not recursively looking into subdirectories.


@anthony-tuininga
Copy link
Collaborator Author

Original comment by Anthony Tuininga (Bitbucket: anthony_tuininga, GitHub: Unknown):


See PR #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant