Issue #64 resolved

py2app not working in alias mode

Bouke Haarsma avatarBouke Haarsma created an issue

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 os or 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?).

Comments (3)

  1. Bouke Haarsma

    I installed the requirements from your repos, now alias mode working is fine with the latest repo version. However, now another more serious problem arises with non-alias mode, see issue #65.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.