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


Groups > comp.lang.python > #90710

Re: pip grabs tar.gz file instead of whl?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!217.188.199.168.MISMATCH!takemy.news.telefonica.de!telefonica.de!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'installed.': 0.07; 'subject:file': 0.07; 'lawrence': 0.09; 'override': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'windows,': 0.09; 'python': 0.11; 'bug': 0.12; 'language.': 0.14; 'checking,': 0.16; 'decisions,': 0.16; 'elsewhere.': 0.16; 'handling,': 0.16; 'it;': 0.16; 'itself,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sudo': 0.16; 'thread,': 0.16; 'wrestling': 0.16; 'sat,': 0.16; 'all.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'normally': 0.19; 'properly': 0.19; 'slightly': 0.19; 'manual': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'certainly': 0.24; "shouldn't": 0.24; "i've": 0.25; 'handling': 0.26; 'downloaded': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'chris': 0.29; 'am,': 0.29; 'easier': 0.31; 'usually': 0.31; 'involvement': 0.31; 'location,': 0.31; 'file': 0.32; 'run': 0.32; 'becomes': 0.33; 'beginning': 0.33; 'packaging': 0.33; 'problem': 0.35; "can't": 0.35; 'common': 0.35; 'tool': 0.35; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'combination': 0.36; "didn't": 0.36; 'subject:?': 0.36; 'should': 0.36; 'two': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'future': 0.60; 'around.': 0.60; 'authority': 0.60; 'most': 0.60; 'simply': 0.61; 'simple': 0.61; 'name': 0.63; 'such': 0.63; 'our': 0.64; 'grab': 0.64; 'different': 0.65; 'great': 0.65; 'charset:windows-1252': 0.65; 'biggest': 0.67; 'lose': 0.68; 'facilities': 0.69; '2015': 0.84; '7:00': 0.84; 'apt-get': 0.84; 'disappear': 0.84; "everything's": 0.84; 'pocket': 0.84; 'received:as9105.com': 0.84; 'received:dsl.as9105.com': 0.84; 'received:dynamic.dsl.as9105.com': 0.84; 'steps.': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: pip grabs tar.gz file instead of whl?
Date Sat, 16 May 2015 02:58:29 +0100
References <mj4qsn$k5m$1@ger.gmane.org> <55563EBA.8080606@stoneleaf.us> <CAPTjJmpku_aPPnNq4auYhOy=Y-hJSZUErQPcjizLMpwCvmf0oQ@mail.gmail.com> <mj5mpp$t1g$1@ger.gmane.org> <CAPTjJmpndhpUnJZ_HxjiVFG_A8W4nC2RJYUmrEC4q0C9RAPZdQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 80-44-148-0.dynamic.dsl.as9105.com
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
In-Reply-To <CAPTjJmpndhpUnJZ_HxjiVFG_A8W4nC2RJYUmrEC4q0C9RAPZdQ@mail.gmail.com>
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>
Newsgroups comp.lang.python
Message-ID <mailman.56.1431741527.17265.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1431741527 news.xs4all.nl 2955 [2001:888:2000:d::a6]:48983
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:90710

Show key headers only | View raw


On 16/05/2015 02:26, Chris Angelico wrote:
> On Sat, May 16, 2015 at 7:00 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
>> The same file installed perfectly when downloaded and installed in two
>> steps.  Whether this is simply a known bug with zipfile handling, pip
>> itself, a combination of both or what I've no idea.
>>
>> I find it slightly irritating that a tool recommended by the Python
>> Packaging Authority behaves in such a way, but then I didn't have to dip
>> into my pocket to pay for it and certainly won't lose any sleep over it as
>> there's such a simple work around.
>
> The way I see it, pip is great for handling the most common case where
> you just want to name a package and say "go fetch", but if you want to
> override its decisions, you should use the lower-level facilities eg
> manual downloading and setup.py. It's like with Debian packages: I can
> type "sudo apt-get install blah" and it'll run off and grab it, check
> its signatures, make sure everything's right, and then install it; but
> if I want to install something from a different location, the best way
> is usually to download it manually, do my own checking, and then "sudo
> dpkg -i blah.deb" to actually install it - no apt-get involvement at
> all. This shouldn't normally be a problem; you don't *have* to use pip
> here, you just want to end up with the package properly installed.
>
> ChrisA
>

Being on Windows, as I said at the beginning of the thread, the biggest 
problem is that setup.py can't find VS if there is no whl file to 
install.  Hence it is far easier to get the binaries from elsewhere. 
Hopefully this problem will disappear in the future as the whl standard 
becomes prevelant.

As for sudo I always thought that was a type of Japanese wrestling :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

Re: pip grabs tar.gz file instead of whl? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-16 02:58 +0100

csiph-web