At 07:47 AM 4/21/2006 -0400, Charlie Moad wrote:
>On 4/20/06, bear <[EMAIL PROTECTED]> wrote:
> >
> > Charlie Moad wrote:
> > > When issuing an "--upgrade" option, can the "download_url" be checked
> > > automatically, or is there an existing way I can get a handle on that
> > > "download_url" variable to pass to easy_install?  Any advice would be
> > > appreciated.
> > >
> > Check out the --find-links option:
> >
> >     easy_install -f http://some_url eggname
> >
> > http://peak.telecommunity.com/DevCenter/EasyInstall#command-line-options
>
>I know I can pass that, but it is a matter of introspecting an
>installed egg to find its download_url.

Eggs don't carry download URLs, they only carry dependency links, and only 
if the author specified them.  If what you're saying is that you want to be 
able to check the page you originally got the egg from for updates, there 
isn't currently any way to do that, except to effectively maintain your own 
package index.  It would probably be a better idea to gently encourage the 
package's author to run "setup.py register" on a regular basis to keep 
their PyPI listing up-to-date, since that helps everybody else, too.

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to