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.