How to speed up the installation of a cached package?

I often have to recreate virtual environments from requirements.txt, and I already use $PIP_DOWNLOAD_CACHE. It still takes a lot of time, and I noticed the following:

Pip spends a lot of time between two lines:

Downloading/unpacking SomePackage==1.4 (from -r requirements.txt (line 2))
  Using download cache from $HOME/.pip_download_cache/cached_package.tar.gz

Typically, it takes about 20 seconds to decide that it is going to use a cached package, the installation is quick. This is a lot of time when you need to install dozens of packages (actually enough to write this question).

What happens in the background? Are they some kind of integrity check regarding the online package?

Is there any way to speed this up?

edit: Looking at:

time pip install -v Django==1.4

I get:

real    1m16.120s
user    0m4.312s
sys     0m1.280s

http://pastebin.com/e4Q2B5BA. , , http://pypi.python.org/packages/source/D/Django/Django-1.4.tar.gz.

, ?

+5
2

, , , pip :

pip URL- , , , URL-, url.

, , , . , , ==, , >= >, - -, .

, , , .

+6

All Articles