http://stackoverflow.com/questions/529425/easyinstall-cache-downloaded-files
pip (http://pypi.python.org/pypi/pip/) is a drop-in replacement for the easy_install tool and can do that. Just run easy_install pip and set an environment variable PIP_DOWNLOAD_CACHE to the path you want pip to store the files. Note that the cache won't work with dependencies that checkout from a source code repository (like svn/git/hg/bzr). Then use pip install instead of easy_install On Sun, 04 Oct 2009 18:41 +0000, "Tim Michelsen" <timmichel...@gmx-topmail.de> wrote: > Hello, > I would like to use easy_install to cache packages registered at PyPi > locally. > > How can I do this for packages? > > I tried the hints from: > http://peak.telecommunity.com/DevCenter/EasyInstall#installing-on-un-networked-machines > > It worked for some packages. > But for others, the command > > easy_install -zxad. mercurial > > just creates a subdirectory and not an *.egg file. > > How can I > 1) use easy_install to download packages from PyPi to a locally saved > egg-file? > 2) use easy_install to download archinves (*.tar.gz / *.zip) to download > the > respective software package from the link indicated on PyPi? > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor