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

Issue #371: Fix Python library search for OS X framework virtualenvs. #26

Conversation

nwt
Copy link
Contributor

@nwt nwt commented Nov 6, 2012

In a virtualenv created by a framework build of Python on OS X, the
Python library is named ".Python", but Analysis._check_python_library()
thinks it's "Python" (because ".Python".endswith("Python") evaluates to
True). Using os.path.basename() in lieu of str.endswith() fixes the
problem.

…irtualenvs.

In a virtualenv created by a framework build of Python on OS X, the
Python library is named ".Python", but Analysis._check_python_library()
thinks it's "Python" (because ".Python".endswith("Python") evaluates to
True).  Using os.path.basename() in lieu of str.endswith() fixes the
problem.
matysek added a commit that referenced this pull request Nov 7, 2012
…615cee023894

Issue #371: Fix Python library search for OS X framework virtualenvs.
@matysek matysek merged commit 5804133 into pyinstaller:develop Nov 7, 2012
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants