Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98947
| Path | csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Mapping between python packages and distro packages? |
| Date | Wed, 18 Nov 2015 17:44:51 +1100 |
| Lines | 22 |
| Message-ID | <mailman.404.1447829099.16136.python-list@python.org> (permalink) |
| References | <20151118032903.GA8040@sg1> <85vb90c4fv.fsf@benfinney.id.au> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de HJQuwjpks2ToAqxN3mWu6wCgcv07QcB3z7jggae2dy5A== |
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.038 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'pypi': 0.07; 'cc:addr :python-list': 0.09; 'subject:python': 0.14; 'wed,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Mapping': 0.16; 'subject:between': 0.16; 'wrote:': 0.16; 'detect': 0.18; 'first.': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'recognize': 0.22; 'header:In-Reply- To:1': 0.24; 'install': 0.25; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.213.174': 0.29; 'code': 0.30; "i'd": 0.31; '"the': 0.32; 'gets': 0.35; 'received:google.com': 0.35; 'nov': 0.35; 'something': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'names': 0.38; 'mean': 0.38; 'where': 0.40; 'skip:\xe2 10': 0.70; '8bit%:27': 0.72; 'apt-get': 0.84; 'chrisa': 0.84; 'to:none': 0.91; '8bit%:33': 0.91; '8bit%:18': 0.93; '\xe2\x80\x9cthe': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=5HWgSNDnD7/n359c61VmKNsxWqdK2gshflDPqpXFKNQ=; b=cnWHRz5LA1VByKJqPPi64f4jySegxU4eR3eIsxD1XsxerSI+gY9CmEEvzXVrJVI7O8 yQrX/grbKNPoGJMUsvbpJoiR43VaLaNf9Hbo+rWA87UWsBiX2TGZFHWYnYCBKkTjv98R PM6xpaZuBYbp2138Jan5uDmgm+gWiZtqKtu54BFPyc2C8CWLYrfuwS8zROL/PbVB5CeZ ZQbiWQkEmQpa81KCFcdd5p0IG2felPTZ953nZtpw/VIndx+Bu3lo8ZoLKJyFmzCLpx5y z44l81hlBgqODAXnxTVgCcFYIKpwuwU5iZqCGE8M4PVdgXvQtcepW3LDk/9jxR+Vl1YI mRKw== |
| X-Received | by 10.50.93.72 with SMTP id cs8mr1533873igb.13.1447829091662; Tue, 17 Nov 2015 22:44:51 -0800 (PST) |
| In-Reply-To | <85vb90c4fv.fsf@benfinney.id.au> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:98947 |
Show key headers only | 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
Re: Mapping between python packages and distro packages? Chris Angelico <rosuav@gmail.com> - 2015-11-18 17:44 +1100
csiph-web