Discussion:
preventing pip network access
Luke Tucker
2009-02-24 12:31:11 UTC
Permalink
Interesting, but no, all I was trying to do was a pip freeze followed
by a pip bundle to form a pip pybundle containing the source to
everything melkjug needs to install... It seems to capture it all
okay, but it won't install what it made with pip install after the
fact. It seems to choke on some of the svn src installs although it
appears to understand what they are. I'll post a note to the
virtualenv list about it when I get a sec.

- Luke
Hey Luke,
why not have ~/.pip/downloads
And make pip check for a file there before downloading?
I'm not sure why it's not documented -- so Ian, please correct me if
I'm wrong -- but if you set the environment variable
PIP_DOWNLOAD_CACHE to a path, pip will cache downloaded tarballs et
al. It won't cache editable installs or local installs (file://..)
though.
Cheers,
Jannis
Not sure if this helps?
--
Luke Tucker
http://melkjug.org

Loading...