Join GitHub today
Vendor pkg_resources #1434
zipping up pip and the main.py I quoted in #1422 ever-so-nearly works as a portable, standalone pip:
That latter looks like a distlib issue. I'll post it to the distlib tracker for comments (it's not a huge deal in the grand scheme of things, though).
FWIW I'd prefer to keep any changes to make this run as a zip file to the develop branch. It's kind of a stretch to add this to 1.5.1 since it's technically a new feature but I think unbreaking things for people who are using a system installed setuptools calls for the exception. But adding a feature that isn't needed for unbreaking things should go back to develop.