[Distutils] easy_install installing beta version of psycopg2

"Martin v. Löwis" martin at v.loewis.de
Wed Feb 16 21:09:28 CET 2011

> On PyPI there is *a single* version not hidden of psycopg. On
> http://pypi.python.org/pypi/psycopg2 there is a big fat link to a
> "psycopg2-2.3.2.tar.gz" package.

easy_install doesn't consider this page at all (anymore). Instead,
it considers the "simple" API, which lists the files uploaded to
PyPI and the download urls alike.

> There is really *no temptation to
> guess*. Why does easy_install follow a page meant for human,
> containing more than one link, and then download one of them at
> random?

It doesn't download at random. If no version is specified, it downloads
the most recent version.

> Is there a tool I can suggest to the users instead of easy_install to
> install the correct version from pypi

I normally use aptitude to install Python packages. In order to install
from PyPI specifically, I use Google Chrome.


More information about the Distutils-SIG mailing list