devpi as a pip cache

Richard Jones introduced me to devpi as a pip cache, and its pretty cool. He’s written up a guide on his blog at The basic idea is that it caches on demand, so you can have one of these for your home network and avoid downloading things over and over. Even better, it your machines share a linux ABI (think same Ubuntu release or whatever), then you can upload wheels and avoid all those repeated compiles.

Faster pip installs

Last week with the help of the lovely openstack-infra people, I discovered that you can have a local cache of pip downloads. This speeds up rebuilding test environments when you need to jump between branches with different dependencies. Its as simple as chucking something like:

    export PIP_DOWNLOAD_CACHE=~/cache/pip

…into your .bashrc or equivalent.