I'm wondering how exactly easy_install looks up packages on PyPI. Right now I'm looking at two specific packages: moofx and SQLObject. Both have "Home page" link and both have eggs distributions listen on PyPI. The only difference is that moofx has also a "Download URL", which seems to be bad.
When I do "easy_install SQLObject" it looks at PyPI, then link from "Home page" field and fall backs to egg:
===== $ sudo easy_install SQLObject==0.7.0 Searching for SQLObject==0.7.0 Reading http://www.python.org/pypi/SQLObject/ Reading http://sqlobject.org Best match: SQLObject 0.7.0 Downloading http://cheeseshop.python.org/packages/2.3/S/SQLObject/SQLObject-0.7.0-py2.3.... =====
But this doesn't happen for moofx. It looks at PyPI, then at "Home page", then at "Download URL" and fails, ignoring eggs that are there:
===== $ sudo easy_install moofx Searching for moofx Reading http://www.python.org/pypi/moofx/ Reading http://moofx.mad4milk.net/ Reading http://www.turbogears.org/cogbin/ No local packages or download links found for moofx error: Could not find suitable distribution for Requirement.parse('moofx') =====
Having broken download URL is a bad thing, but shouldn't easy_install use eggs when they're available? And why search "Homepage" and "Download URL" links when eggs are already on PyPI?
Thanks for any help, mk