[Distutils] Difference between "url" and "download_url"?

Phillip J. Eby pje at telecommunity.com
Sun Dec 9 15:26:57 CET 2007


At 12:12 AM 12/9/2007 -0600, skip at pobox.com wrote:
>My setup call looks like this:
>
>     setup(name='bsddb185',
>       author='Skip Montanaro',
>       author_email='skip at pobox.com',
>       maintainer='Skip Montanaro',
>       maintainer_email='skip at pobox.com',
>       url='http://www.webfast.com/~skip/python/',
>       download_url='http://www.webfast.com/~skip/python/bsddb-1.0.tar.gz',

Your tarball is incorrectly named: it should be bsddb185-1.0.tar.gz, 
since bsddb185 is the package name.

If you want to force easy_install to recognize a link to that tarball 
as being for bsddb185 version 1.0, you must add "#egg=bsddb185-1.0" 
to the end of the URL.



More information about the Distutils-SIG mailing list