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

PythonInterpreter fails to discover OSX Python binaries #144

Closed
jsirois opened this issue Aug 10, 2015 · 1 comment
Closed

PythonInterpreter fails to discover OSX Python binaries #144

jsirois opened this issue Aug 10, 2015 · 1 comment
Assignees
Labels

Comments

@jsirois
Copy link
Member

jsirois commented Aug 10, 2015

The real path of OSX python binaries can look like so:
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

The binary discovery logic in PythonInterpreter misses binaries like these due to case-sensitive regexes here: https://github.com/pantsbuild/pex/blob/master/pex/interpreter.py#L181

This was discovered in pantsbuild/pants#1908

@jsirois jsirois added the bug label Aug 10, 2015
@jsirois jsirois self-assigned this Aug 10, 2015
@jsirois
Copy link
Member Author

jsirois commented Aug 11, 2015

Fix merged @ 49aec66

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

No branches or pull requests

1 participant