Skip to content

Instantly share code, notes, and snippets.

@sambao21
sambao21 / pip-cache-install.py
Created May 1, 2012 13:43 — forked from jacobian/pip-cache-install.py
Install a package from your local pip download cache without touching the 'net. (edit: will pip install normally if can't find in cache)
#!/usr/bin/env python
"""
Install a package from your local pip download cache without having to touch
the 'net at all.
You'll need to be using a pip download cache; that is, you'll need the
following in your ~/.pip/pip.conf:
[install]