Fix #982 by using the effective user id on unix systems instead of depending on
getpass.getuser(). This is required because on some systems 'LOGNAME'
is not updated by sudo.
Signed-off-by: david <db@d1b.org>
Merge pull request #998 from d1b/fix_pip_location_sudo_usage

Fix #982 by using the effective user id on unix systems instead of depen...
Merge pull request #1003 from qwcode/test_new_setuptools

support the new setuptools
solution for uprading to setuptools-0.7.2 in py2 & py3
revert distribute skip in py3 (commit fe09baa1a2e062afeb3f264c41f98906294e85ff)
force setuptools>=0.7.2 to uninstall distribute
test merge fixes
remove old test that mistakenly resurfaced during merging
remove unnecessary patches since setuptools-0.8 will be py2/3 compatible