views:

321

answers:

1

Is there a way to configure easy_install to avoid having to download the files again when an installation fails?

+6  A: 

pip (http://pypi.python.org/pypi/pip/) is a drop-in replacement for the easy_install tool and can do that.

Just run easy_install pip and set an environment variable PIP_DOWNLOAD_CACHE to the path you want pip to store the files. Note that the cache won't work with dependencies that checkout from a source code repository (like svn/git/hg/bzr).

Then use pip install instead of easy_install

ionelmc