pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
I was fed up with trying to install from pypi to Windows. Setup.py more often than not wouldn't be able to find the VS compiler. So I thought I'd try the direct route to the excellent Christoph Gohlke site at http://www.lfd.uci.edu/~gohlke/pythonlibs/ which is all whl files these days.

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

2015-05-15 Thread Mark Lawrence
On 16/05/2015 02:26, Chris Angelico wrote: On Sat, May 16, 2015 at 7:00 AM, Mark Lawrence breamore...@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

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

2015-05-15 Thread Chris Angelico
On Sat, May 16, 2015 at 11:58 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: 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

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

2015-05-15 Thread Mark Lawrence
On 16/05/2015 03:17, Chris Angelico wrote: On Sat, May 16, 2015 at 11:58 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: 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

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

2015-05-15 Thread Terry Reedy
On 5/16/2015 12:12 AM, Mark Lawrence wrote: The whole point is that setup.py never works because it can't find VS despite the fact that I know I've got the correct version installed. If I download a whl file, pip installs that version perfectly. If I try to get pip to download and install the

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

2015-05-15 Thread Mark Lawrence
On 16/05/2015 05:28, Terry Reedy wrote: On 5/16/2015 12:12 AM, Mark Lawrence wrote: The whole point is that setup.py never works because it can't find VS despite the fact that I know I've got the correct version installed. If I download a whl file, pip installs that version perfectly. If I

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

2015-05-15 Thread Chris Angelico
On Sat, May 16, 2015 at 7:00 AM, Mark Lawrence breamore...@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

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

2015-05-15 Thread Ethan Furman
On 05/15/2015 06:04 AM, Mark Lawrence wrote: C:\Users\Mark\Documents\MyPythonpip install --no-cache-dir --trusted-host http://www.lfd.uci.edu/ -U -f http://www.lfd.uci.edu/~gohlke/pythonlibs/ numba Collecting numba This repository located at www.lfd.uci.edu is not a trusted host, if this

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

2015-05-15 Thread Chris Angelico
On Sat, May 16, 2015 at 4:45 AM, Ethan Furman et...@stoneleaf.us wrote: On 05/15/2015 06:04 AM, Mark Lawrence wrote: C:\Users\Mark\Documents\MyPythonpip install --no-cache-dir --trusted-host http://www.lfd.uci.edu/ -U -f http://www.lfd.uci.edu/~gohlke/pythonlibs/ numba Collecting numba

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

2015-05-15 Thread Mark Lawrence
On 15/05/2015 19:55, Chris Angelico wrote: On Sat, May 16, 2015 at 4:45 AM, Ethan Furman et...@stoneleaf.us wrote: On 05/15/2015 06:04 AM, Mark Lawrence wrote: C:\Users\Mark\Documents\MyPythonpip install --no-cache-dir --trusted-host http://www.lfd.uci.edu/ -U -f