Faster python project setup with pip package cache

Adding this config file into a ~/.pip directory will ask pip to save a copy of any packages installed via pip (whether inside or outside a virtualenv).

~/.pip/pip.conf

1
2
[global]
download_cache=~/.pypi_cache

You can either mkdir -p ~/.pypi_cache or let pip create it itself.