Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98947

Re: Mapping between python packages and distro packages?

From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Mapping between python packages and distro packages?
Date 2015-11-18 17:44 +1100
Message-ID <mailman.404.1447829099.16136.python-list@python.org> (permalink)
References <20151118032903.GA8040@sg1> <85vb90c4fv.fsf@benfinney.id.au>

Show all headers | View raw


On Wed, Nov 18, 2015 at 3:33 PM, Ben Finney <ben+python@benfinney.id.au> wrote:
> 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?

I don't know how the program would detect it, but I'd be thinking "the
one where 'sudo apt-get install PACKAGENAME' gets the same code that
'pip install THING' gets". In a lot of cases, PACKAGENAME will simply
be python-THING or python3-THING, eg python3-sqlalchemy,
python3-scipy, python3-bs4; as a human, that's what I'd try first. But
having a program recognize this would be hugely beneficial.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Mapping between python packages and distro packages? Chris Angelico <rosuav@gmail.com> - 2015-11-18 17:44 +1100

csiph-web