pyinstaller/pyinstaller — pull request #26 by nwt (2012-11-06 22:13:30+00:00)
Title: Issue #371: Fix Python library search for OS X framework virtualenvs.

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.