[PEAK] setuptools distribution tarball name

Timur Izhbulatov TimurIzhbulatov at oilspace.com
Tue Jul 3 02:49:16 EDT 2007


Phillip J. Eby wrote:
> At 12:21 PM 7/2/2007 +0400, Timur Izhbulatov wrote:
>> And if I do declaration with direct link to the tarball
>>
>>     install_requires = [
>>         'smbpasswd >= 1.0',
>>
>>     ],
>>     dependency_links = [
>>
>> 'http://barryp.org/static/software/download/py-smbpasswd/1.0.1/py-smbpasswd-1.0.1.tar.gz', 
>>
>>     ],
>>
>> easy_install ignores the link because the file name doesn't match and 
>> fails to find the tarball.
>>
>> Is it still possible to somehow handle this dependency automatically?
> 
> Try adding "#egg=smbpasswd-1.0.1" to the end of the dependency link that 
> points directly to the tarball.

Thanks! It works :)

> You might also suggest that the author either officially change the 
> package name to py-smbpasswd, or else not rename the tarball to make it 
> look like it is.  :)

CCd

-- 
Timur Izhbulatov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7245 + ext.205 F:+7 495 105 7246 E:TimurIzhbulatov at oilspace.com
Building Successful Supply Chains - One Solution At A Time.
www.oilspace.com




More information about the PEAK mailing list