[Distutils] easy_install download logic?
constant.beta at gmail.com
Wed Jun 21 23:02:56 CEST 2006
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
Best match: SQLObject 0.7.0
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
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,
. o . >> http://joker.linuxstuff.pl <<
. . o It's easier to get forgiveness for being wrong
o o o than forgiveness for being right.
More information about the Distutils-SIG