Monday, October 11, 2010

PYPI mirror

The other day I was trying to deploy some Python software, but ran in to trouble with the package dependencies.  PYPI was down and so the packages could not be fetched!

After a quick search I found what suspiciously looked like a PYPI mirror at http://b.pypi.python.org/

Pointing easy_install at this mirror gave me the result I needed.

easy_install -i http://b.pypi.python.org/simple/ -U setuptools

I don't know if the mirror is common knowledge, but this is a handy option to remember.

1 comment:

  1. http://www.python.org/dev/peps/pep-0381/ is where I've seen a mention of it.

    ReplyDelete