Mapping between python packages and distro packages?

Stephane Wirtel stephane at wirtel.be
Fri Nov 20 17:14:57 EST 2015


Hi Ben,

sorry for my late reply, just forgotten to reply :/ really sorry

in fact, I would like to have a database where I want the requests
library, I will get the python-requests for debian/ubuntu and the right
package for the yum installer.

I have an other solution, but I don't like it because I risk to break
the linux distribution (the target) and use the wheel package.

On 11/18, Ben Finney wrote:
> Stephane Wirtel <stephane at wirtel.be> writes:
> 
> > Do you know if there is a library to match a python package (from PyPI)
> > and find the right debian/redhat packages ?
> 
> What would count as “the right package”?
> 
> Do you mean “the package that has that PyPI distribution URL in its
> ‘debian/watch’ configuration”?
> 
> Do you mean “the package that names that PyPI distribution in its
> ‘debian/copyright’ “Source” field”?
> 
> Or something else?
> 
> The answers will differ depending on exactly what question is being
> asked of the data.
> 
> If you can define exactly what query you want to perform, perhaps a
> solution can be offered.
> 
> -- 
>  \     “The Vatican is not a state.… a state must have territory. This |
>   `\         is a palace with gardens, about as big as an average golf |
> _o__)                         course.” —Geoffrey Robertson, 2010-09-18 |
> Ben Finney
> 
> -- 
> https://mail.python.org/mailman/listinfo/python-list

-- 
Stéphane Wirtel - http://wirtel.be - @matrixise



More information about the Python-list mailing list