Re: [Tutor] using easy_install to download eggs
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 +, 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
Re: [Tutor] using easy_install to download eggs
Hi, thanks for the hint. 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). I tried this. It saves the downloaded packages in a form of: http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FB%2FBareNecessities% 2FBareNecessities-0.2.2.tar.gz.content-type http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FB%2FBareNecessities% 2FBareNecessities-0.2.2.tar.gz I was looking for *.egs or *.exe pachages. Any ideas? Regards, Timmie ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] using easy_install to download eggs
Snip from PIP http://pypi.python.org/pypi/pip/0.4 Differences From easy_install pip cannot install some packages. Specifically: * It cannot install from eggs. It only installs from source. (Maybe this will be changed sometime, but it's low priority.) If you want to download eggs then you might try basketweaver? http://pypi.python.org/pypi/basketweaver/ basketweaver is a tool for creating your own package index out of a directory full of eggs. You can then point to this index with e.g. zc.buildout or setuptools and thus be independant of PyPI. Cheers Rudiger On Mon, 05 Oct 2009 12:28 +, Tim Michelsen timmichel...@gmx-topmail.de wrote: Hi, thanks for the hint. 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). I tried this. It saves the downloaded packages in a form of: http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FB%2FBareNecessities% 2FBareNecessities-0.2.2.tar.gz.content-type http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FB%2FBareNecessities% 2FBareNecessities-0.2.2.tar.gz I was looking for *.egs or *.exe pachages. Any ideas? Regards, Timmie ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
[Tutor] using easy_install to download eggs
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? Thanks in advance, Timmie ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor