[Distutils] pip caching docs lie?

Chris Withers chris at simplistix.co.uk
Thu Jun 18 20:42:14 CEST 2015


Hi All,

These two sections:

https://pip.pypa.io/en/latest/reference/pip_install.html#caching
https://pip.pypa.io/en/latest/reference/pip_install.html#wheel-cache

...imply that downloading packages with pip 7.x+ should create an 
offline cached egg.

Not so:

(pip_cache)tweedledee:virtualenvs chris$ pip --version
pip 7.0.3 from 
/Users/chris/virtualenvs/pip_cache/lib/python2.7/site-packages (python 2.7)
(pip_cache)tweedledee:virtualenvs chris$ pip install xlwt
Collecting xlwt
   Downloading xlwt-1.0.0-py2.py3-none-any.whl (140kB)
     100% |████████████████████████████████| 143kB 730kB/s
Installing collected packages: xlwt
Successfully installed xlwt-1.0.0
(pip_cache)tweedledee:virtualenvs chris$ ls ~/Library/Caches/pip/
http        selfcheck.json
(pip_cache)tweedledee:virtualenvs chris$ find ~/Library/Caches/pip/ 
-name wheels
(pip_cache)tweedledee:virtualenvs chris$

Nope, no wheel cache there.

What am I missing? Are those docs just plain wrong?

cheers,

Chris


More information about the Distutils-SIG mailing list