Given limited feedback and none negative I’m going to move ahead with this.
Thanks All!
---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
___
Distutils-SIG maillist - Distutils-SIG@python.org
On Wed, Sep 17, 2014 at 20:59 -0400, Donald Stufft wrote:
Right now pip (and originally setuptools, which does it as well) will do this
sort of dance when looking for things on the PyPI simple index. This isn't the
actual code though:
thing_to_install = foo==1.0
page = None
What about an approach where pip first tries the canonical name, and if
that fails, tries the exact given name?
Seems to me like that should handle legacy mirrors without the big download.
Cheers,
Nick.
___
Distutils-SIG maillist -
On 18 Sep 2014 17:48, Nick Coghlan ncogh...@gmail.com wrote:
What about an approach where pip first tries the canonical name, and if
that fails, tries the exact given name?
And by canonical I mean normalised.
Seems to me like that should handle legacy mirrors without the big
download.
On Sep 18, 2014, at 3:48 AM, Nick Coghlan ncogh...@gmail.com wrote:
What about an approach where pip first tries the canonical name, and if that
fails, tries the exact given name?
Seems to me like that should handle legacy mirrors without the big download.
Cheers,
Nick.
The exact
On Thu, Sep 18, 2014 at 06:17 -0400, Donald Stufft wrote:
On Sep 18, 2014, at 3:48 AM, Nick Coghlan ncogh...@gmail.com wrote:
What about an approach where pip first tries the canonical name, and if
that fails, tries the exact given name?
Seems to me like that should handle legacy
On Sep 18, 2014, at 3:27 AM, holger krekel hol...@merlinux.eu wrote:
On Wed, Sep 17, 2014 at 20:59 -0400, Donald Stufft wrote:
Right now pip (and originally setuptools, which does it as well) will do this
sort of dance when looking for things on the PyPI simple index. This isn't
the
On Sep 18, 2014, at 6:22 AM, holger krekel hol...@merlinux.eu wrote:
On Thu, Sep 18, 2014 at 06:17 -0400, Donald Stufft wrote:
On Sep 18, 2014, at 3:48 AM, Nick Coghlan ncogh...@gmail.com wrote:
What about an approach where pip first tries the canonical name, and if
that fails, tries
Right now pip (and originally setuptools, which does it as well) will do this
sort of dance when looking for things on the PyPI simple index. This isn't the
actual code though:
thing_to_install = foo==1.0
page = None
if thing_to_install.contains(==): # First look at a versioned url