Add options for specifying python cache dirs.

Review Request #2320 - Created June 3, 2015 and submitted

Information
Paul Groudas
pants
pgroudas:add-egg-path-option
1636
46a5f99...
Reviewers
pants-reviews
benjyw
Specifically, the 'egg' cache, where third party eggs
are downloaded, and the 'artifact' cache.

It can be useful to put these outside of the default
pants workdir to circumvent 'pants clean-all' blowing
them away.  In a repo with many external python deps,
killing the egg cache can add minutes to the next
python-related pants invocation.

CI is running here: https://travis-ci.org/pantsbuild/pants/builds/65300528
Not sure how to test this otherwise, but I built the sdist and used it
in the compass repo. I then set the following in pants.ini:

[python-setup]
egg_cache_dir: %(homedir)s/.python.egg.cache

Then ran the unit tests and observed the eggs put in ~/.python.egg.cache.

Issues

  • 0
  • 4
  • 0
  • 4
Description From Last Updated
Benjy Weinberger
Patrick Lawson
Paul Groudas
Paul Groudas
Benjy Weinberger
Benjy Weinberger
Paul Groudas
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted as 781fce435af9575335536ef28930686533aba4b5.

Loading...