by makecheck · 10y ago · 0 comments
Although, I do not attempt to install any libraries, I keep everything in the application bundle and set environment variables as needed.
It is limiting in the sense that I must use the Python version that Apple does but at the same time, the shipping executable is downright tiny compared to most Mac OS X applications.
In my case some of the libraries are also compiled so I have a starter script that sets DYLD_LIBRARY_PATH, PYTHONPATH, etc. and runs a 2nd script that can then successfully import whatever is required.