pypa/pip — pull request #1538 by pabigot (2014-02-06 17:04:51+00:00)
Title: fix #1525: unicode __file__ in Python2

The module __file__ attribute in Python2 should be str, not unicode.
When constructing the setup_py value in Python2 use the file system
encoding so repr(setup_py) in scripts does not expand to a unicode
value.