Skip to content

Instantly share code, notes, and snippets.

@dstufft
Created July 24, 2013 00:24
Show Gist options
  • Save dstufft/6067236 to your computer and use it in GitHub Desktop.
Save dstufft/6067236 to your computer and use it in GitHub Desktop.
[global]
timeout = 15
download_cache = ~/.pip/cache
allow-all-external = false
no-allow-insecure = false
@justinmayer
Copy link

Hey Donald. I think you mean download-cache instead of download_cache. Also, in my experience, pip rarely (if ever) correctly expands the tilde properly (at least on Mac OS X). One could specify the full absolute path, but since that's a pain and doesn't scale across disparate environments, I instead use the PIP_DOWNLOAD_CACHE environment variable in conjunction with $HOME.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment