Support eggs for setuptools and wheel.

Review Request #2529 - Created July 24, 2015 and submitted

Information
John Sirois
pants
jsirois/issues/1831_fix
1831, 1868
ca6abb5...
Reviewers
pants-reviews
benjyw, kwlzn
Previously the interpreter cache did not accept egg bdists when
building up its interpreter cache.  This change fixes that and also
simplifies requirement resolution by using the pex resolve toolchain.

Add a test that an interpreter can be bootstrapped from  a local
eggs only repo.

 src/python/pants/backend/python/BUILD                    |  1 -
 src/python/pants/backend/python/interpreter_cache.py     | 73 +++++++++++++++++++++++---------------------------
 tests/python/pants_test/python/BUILD                     |  3 +++
 tests/python/pants_test/python/test_interpreter_cache.py | 54 +++++++++++++++++++++++++++++++++++++
 4 files changed, 90 insertions(+), 41 deletions(-)
Using pants from this branch the previously failing demo case here
now works: 
  https://github.com/pgroudas/issues-1831

CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/72534293
Benjy Weinberger
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...