Path: csiph.com!news.swapon.de!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:14:57 +0100 Lines: 44 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 nuBdmYYMe6sNQCfCsWgrRAv1uSqZ7XXJ3Kkq3ZGTpbkw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.106 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.79; '*S*': 0.01; 'pypi': 0.07; 'python': 0.10; 'subject:python': 0.14; '@matrixise': 0.16; 'ben,': 0.16; 'from:addr:stephane': 0.16; 'from:addr:wirtel.be': 0.16; 'installer.': 0.16; 'received:io': 0.16; 'received:mx1.wirtel.be': 0.16; 'received:psf.io': 0.16; 'received:wirtel.be': 0.16; 'stephane': 0.16; 'st\xc3\xa9phane': 0.16; 'subject:Mapping': 0.16; 'subject:between': 0.16; 'url:wirtel': 0.16; 'wirtel': 0.16; 'wrote:': 0.16; 'differ': 0.18; 'library,': 0.18; 'library': 0.20; '(the': 0.22; 'header:In-Reply-To:1': 0.24; 'requests': 0.25; 'header:User-Agent:1': 0.26; 'linux': 0.26; 'define': 0.27; 'question': 0.27; 'package.': 0.27; 'solution,': 0.29; 'asked': 0.29; 'url:mailman': 0.30; 'query': 0.30; 'received:be': 0.30; 'url:python': 0.33; 'url:listinfo': 0.34; 'something': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'data.': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'being': 0.37; 'late': 0.38; 'names': 0.38; 'mean': 0.38; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'where': 0.40; 'received:176': 0.66; 'fact,': 0.67; 'header:Reply- To:1': 0.67; 'reply': 0.68; 'risk': 0.68; 'skip:\xe2 10': 0.70; 'reply-to:no real name:2**0': 0.71; '8bit%:27': 0.72; 'reply,': 0.72; '_o__)': 0.84; 'golf': 0.84; 'palace': 0.84; 'received:176.31': 0.84; 'territory.': 0.84; 'vatican': 0.84; 'wheel': 0.84; '8bit%:33': 0.91; 'forgotten': 0.91; 'offered.': 0.91; '8bit%:18': 0.93; 'average': 0.93; '\xe2\x80\x9cthe': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wirtel.be; s=default; t=1448057510; bh=K+855woFEoVE7n1+IRpyAN0BNpy1udAn62AaX47KGxI=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To; b=cX8RqDgQWJKo1NEl7EPmdQmXJK0UTxMwgsoSFGfzIMGoYjIPZSckIoQ/Hb9K7K6kH fNPNV5+zdTyoo6Ety18eLpaQcadI4MBkR7wAErg7SYBdmeva+E9L3rjquArsfcOXbt LhpDn34x7k08jX55TV3zzic7MsPwnjyydlqQZIGa35LpCYsuSvzQ6WfAa5idrkspW5 PwMww+uot1852tiAy9rEhdZJXCpjjAo8Xr/nl2gi46Xe+qveEzKifnWgdPjIcWjNuu f2HnIKXeBxDmDiLV1EKeDm9+r1FZaUgUoOeA8RBlPssXjnv+HzAkRD46mYwbM0XDiU wXsAUTvWoOktw== Content-Disposition: inline In-Reply-To: <85vb90c4fv.fsf@benfinney.id.au> 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:99187 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 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