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
Work out how to build static binary executables for OSX #26
Comments
I'm running into problems with getting PyInstaller to build something on OSX. The build process apparently completes successfully, but when I come to run the application, I get exception @carlosperate or anybody else, do you have any ideas for how I can go about debugging this? |
I assumed instaling Qsci was a different step than what is currently on the install_osx.sh file, mostly because of the import error you mention, and because I had to Is your build environment able to launch the python program without throwing he same import error? If so, there is a small chance that PyInstaller is not figuring out the import requirements properly, and it can be added to the spec file as a "hidden import", however there is a clear dependency in the editor.py file, so I'd be surprised if that would solve it. There is also a chance that it might be a fixed bug in PyInstaller. You check that by downloading the source code directly from github and run that pyinstaller.py file instead of the |
Thanks @carlosperate for your input. I am able to launch the Python program without any problems -- I probably should've made that clearer yesterday!
Further digging shows that PyInstaller is trying to load the The first path is where homebrew puts the packages before symlinking them to the second path. I'll need to spend some more time getting cosy with |
Ooh ooh ooh, I've commented out two lines in PyInstaller, and I've got something to work! See pyinstaller/pyinstaller#1750 for details. |
That's great progress @inglesp! Let's see how the bug report goes, if it gets fixed on their git repository we can always pull that on the travis ci installation script. If not, we could have a bit of a hacky-temporary-solution to clone and apply a patch before using PyInstaller. |
No description provided.
The text was updated successfully, but these errors were encountered: