Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Stephane Wirtel Newsgroups: comp.lang.python Subject: Re: Mapping between python packages and distro packages? Date: Fri, 20 Nov 2015 23:15:50 +0100 Lines: 10 Message-ID: References: <20151118032903.GA8040@sg1> <85vb90c4fv.fsf@benfinney.id.au> Reply-To: stephane@wirtel.be Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de WXUpxm9A5eiOyqAJ3/ldnQUreTIoNkkwhihu8j3v77Uw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'subject:python': 0.14; '@matrixise': 0.16; 'from:addr:stephane': 0.16; 'from:addr:wirtel.be': 0.16; 'received:io': 0.16; 'received:mx1.wirtel.be': 0.16; 'received:psf.io': 0.16; 'received:wirtel.be': 0.16; 'st\xc3\xa9phane': 0.16; 'subject:Mapping': 0.16; 'subject:between': 0.16; 'url:wirtel': 0.16; 'wirtel': 0.16; 'detect': 0.18; 'first.': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'recognize': 0.22; 'header:In-Reply- To:1': 0.24; 'install': 0.25; 'header:User-Agent:1': 0.26; 'code': 0.30; 'received:be': 0.30; "i'd": 0.31; '"the': 0.32; 'gets': 0.35; 'but': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'where': 0.40; 'received:176': 0.66; 'header:Reply-To:1': 0.67; 'reply- to:no real name:2**0': 0.71; 'apt-get': 0.84; 'received:176.31': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wirtel.be; s=default; t=1448057563; bh=cMdHX4MZrz+CMDMxKGGjSC9rfiiQiU6DF1miIjfpzNE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=WA04KMt9YEShU/m94hlXXuJuwW/WBudFZPV1pCmQmiosioY6hImab2u0YQqYkdJay BQDVgK6zyQwHQeIQemojJ6VRf1gnTeEQDXW5WkVDEPDSoGgYTJMb/NbszuklQrcr+C 2wq/qbDtCNeL9HLnzV4DPNEHUiU6E9G1rmo+YTe20Tqgms1eyn14ACbNMI2OOOTatu zOyjLabwBT+2e6K+djaVeatHp2jyGypWGmEqj05Qkf6W8NQHg4lfbT2QXiY/L7PWIU NtMRTaAPy2KRzcY3YeGEuidZHGFsadDCxCmkuWo/wX/f0TS3hxATnVhgX5YBWf5afF 7xvORhzP3cwig== Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99188 > 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. +1 -- Stéphane Wirtel - http://wirtel.be - @matrixise