Decouple translation and package iteration (kill pex.obtainer)

Review Request #785 - Created July 29, 2014 and submitted

Information
Brian Wickman (Twitter)
pex
Reviewers
jsirois, kwlzn, patricklaw
This gets rid of the Obtainer and is based off https://rbcommons.com/s/twitter/r/778/.  This makes resolve() take a few more options but simplifies the caching story -- there is really just one place to specify a cache path.

Did a run of isort + killing unused imports, hence a couple drive-by files being touched.
tox +

pex inception:

python setup.py sdist && \
  pex -v --repo=dist/ -r wheel -r requests -r pex==0.8.0-rc0 -e pex.bin.pex:main -o dist/pex.pex && \
  dist/pex.pex -v --repo=dist/ -r wheel -r requests -r pex==0.8.0-rc0 -e pex.bin.pex:main -o dist/pex.pex.pex && \
  rm -rf ~/.pex && \
  dist/pex.pex.pex -v --repo=dist/ -r wheel -r requests -r pex==0.8.0-rc0 -e pex.bin.pex:main -o dist/pex.pex.pex.pex

Issues

  • 0
  • 1
  • 1
  • 2
Description From Last Updated
Kris Wilson
Patrick Lawson
Brian Wickman (Twitter)
Brian Wickman (Twitter)
Review request changed

Status: Closed (submitted)

Loading...