py2app in alias mode does not link to my Python installation. I installed Python using homebrew, so its libs are installed in:
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
When I run
import sys; print sys.path, these paths are not listed in alias mode. When I run my app using a normal
python main.py invocation, there is no problem. As these paths are missing, even importing
threading fails. The paths to my virtualenv packages are picked up correctly, it seems only to be limited to the python libs.
I could not verify this issue with the repo source as it references altgraph 0.10, which is not in PyPi (yet?).