Mapping between python packages and distro packages?

Ben Finney ben+python at benfinney.id.au
Tue Nov 17 23:33:08 EST 2015


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




More information about the Python-list mailing list