On 09.11.2016 21:44, Goirand Thomas (aka zigo) wrote:
> 
> On Nov 9, 2016 5:56 PM, Ian Jackson <ijack...@chiark.greenend.org.uk> wrote:
>>
>> Ian Jackson writes ("dput missing a dependency on python setuptools 
>> library"): 
>>>   (build)root@zealot:~# dput 
>> ... 
>>>       raise DistributionNotFound(req, requirers) 
>>>   pkg_resources.DistributionNotFound: The 'setuptools' distribution was not 
>>> found and is required by dput 
>>
>> Are there any plans to fix this in python ?  (I'm not really familiar 
>> enough with the python module and loading system to do so myself.) 
> 
> Every python module is installed with an "egg-info" folder
> containing a "require.txt" file that contains Python module deps.
> 
> What's happening here is probably dput having a Python dep
> on setuptools but it's not expressed in the Debian package's
> runtime Depends:. The way to fix it would be patching the
> dput Python requires (probably, that's in setup.py), or add the
> Depends: python-setuptools in the dput package. But I haven't
> looked at the issue so I can't tell which one of actions to do.

it's surprising that dput would need a dependency on the setuptools egg instead
of the pkg_resources egg.  A dependency on the setuptools egg just sounds plain
wrong.

Do you have a test case why a dependency on the setuptools egg is needed?

Matthias

Reply via email to