Lennart Regebro wrote:
On Sat, Dec 26, 2009 at 05:03, David Cournapeau <courn...@gmail.com> wrote:
The reasons I see for making some things, in
particular upload mandatory are as follows:
- file upload makes pure rsync-based mirroring. In the case of CRAN,
you mirror with one rsync command. No need for fancy scheme, new
packages, etc...
But you can already do that with the files that are uploaded. You
claim that to mirror PyPI, you have to *also* include files that are
*not* hosted on PyPI. That makes no sense. Sorry.
When some people say "I want to mirror PyPI", I think they mean "I want
to have a private copy of all of the files I need to install a given set
of packages I need". This is often a requirement because the computer(s)
where an installation is occurring are behind firewalls without general
Internet access or are production servers where administrative rules
require that all installation repositories be locked down.
(I'm not saying that David is using mirroring in this sense, but I know
some people, including me, do use it that way.)
Actually mirroring PyPI (modulo Martin's issues with accounts, etc.) can
be achieved with rsync or other ways of just copying the files on PyPI.
Producing a private PyPI with all of the packages you need for
installation is less straight forward when all of the files are not
uploaded to PyPI. I usually do it by trial and error, but I've not spent
any time looking into automated solutions.
Eric.
_______________________________________________
Distutils-SIG maillist - Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig