Re: [Distutils] PyPi’s predictable download url

2017-07-27 Thread Paul Moore
On 27 July 2017 at 11:06, Alex Grönholm wrote: >>> I didn't get the impression that this was the problem the OP was >>> hitting, and it's certainly not what I'd recommend for him, but you >>> should be able to just clone the virtualenv repo and run ```python >>>

Re: [Distutils] PyPi’s predictable download url

2017-07-27 Thread Alex Grönholm
Wes Turner kirjoitti 27.07.2017 klo 02:36: On Wednesday, July 26, 2017, Paul Moore > wrote: On 26 July 2017 at 15:52, Alexander Belopolsky wrote: > On Wed, Jul 26, 2017 at 10:21 AM, Nick Coghlan

Re: [Distutils] PyPi’s predictable download url

2017-07-26 Thread Wes Turner
On Wednesday, July 26, 2017, Paul Moore wrote: > On 26 July 2017 at 15:52, Alexander Belopolsky > wrote: > > On Wed, Jul 26, 2017 at 10:21 AM, Nick Coghlan > wrote: > >> .. the most robust option is to instead let a

Re: [Distutils] PyPi’s predictable download url

2017-07-26 Thread Nick Coghlan
On 27 July 2017 at 00:52, Alexander Belopolsky wrote: > On Wed, Jul 26, 2017 at 10:21 AM, Nick Coghlan wrote: >> .. the most robust option is to instead let a dedicated client tool like pip >> handle the problem: >> >> * pip install: retrieve

Re: [Distutils] PyPi’s predictable download url

2017-07-26 Thread Paul Moore
On 26 July 2017 at 15:52, Alexander Belopolsky wrote: > On Wed, Jul 26, 2017 at 10:21 AM, Nick Coghlan wrote: >> .. the most robust option is to instead let a dedicated client tool like pip >> handle the problem: >> >> * pip install: retrieve

Re: [Distutils] PyPi’s predictable download url

2017-07-26 Thread Alexander Belopolsky
On Wed, Jul 26, 2017 at 10:21 AM, Nick Coghlan wrote: > .. the most robust option is to instead let a dedicated client tool like pip > handle the problem: > > * pip install: retrieve *and* install a component > * pip download: just retrieve the files without installing them

Re: [Distutils] PyPi’s predictable download url

2017-07-26 Thread Nick Coghlan
On 26 July 2017 at 04:45, Aleks Bunin wrote: > Hello, > > I’m writing installation instructions for a package and have a question: > what is the correct predictable URL for the package? I found couple. Which > one of these guaranteed won’t change again in the future? > >

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Noah Kantrowitz
> On Jul 25, 2017, at 3:06 PM, Tres Seaver wrote: > > On 07/25/2017 05:25 PM, Noah Kantrowitz wrote: >> >>> On Jul 25, 2017, at 2:15 PM, Wes Turner wrote: >>> >>> >>> >>> On Tuesday, July 25, 2017, Alexander Belopolsky >>>

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Donald Stufft
> On Jul 25, 2017, at 6:06 PM, Tres Seaver wrote: > > On 07/25/2017 05:25 PM, Noah Kantrowitz wrote: >> >>> On Jul 25, 2017, at 2:15 PM, Wes Turner wrote: >>> >>> >>> >>> On Tuesday, July 25, 2017, Alexander Belopolsky >>>

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Nick Timkovich
On Tue, Jul 25, 2017 at 4:25 PM, Noah Kantrowitz wrote: > > > On Tuesday, July 25, 2017, Alexander Belopolsky < > alexander.belopol...@gmail.com> wrote: > > $ curl -i http://pypi.org/pypi/virtualenv/json > > HTTP/1.1 403 SSL is required > > ... > > > > To explain this:

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Tres Seaver
On 07/25/2017 05:25 PM, Noah Kantrowitz wrote: > >> On Jul 25, 2017, at 2:15 PM, Wes Turner wrote: >> >> >> >> On Tuesday, July 25, 2017, Alexander Belopolsky >> wrote: >> On Tue, Jul 25, 2017 at 4:18 PM, Nick Timkovich

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Noah Kantrowitz
> On Jul 25, 2017, at 2:15 PM, Wes Turner wrote: > > > > On Tuesday, July 25, 2017, Alexander Belopolsky > wrote: > On Tue, Jul 25, 2017 at 4:18 PM, Nick Timkovich > wrote: > .. > > That's because curl is kinda

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Wes Turner
On Tuesday, July 25, 2017, Alexander Belopolsky < alexander.belopol...@gmail.com> wrote: > On Tue, Jul 25, 2017 at 4:18 PM, Nick Timkovich > wrote: > .. > > That's because curl is kinda annoying and doesn't follow redirects by > > default: > > > > $ curl

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Alexander Belopolsky
On Tue, Jul 25, 2017 at 4:18 PM, Nick Timkovich wrote: .. > That's because curl is kinda annoying and doesn't follow redirects by > default: > > $ curl -i http://pypi.python.org/pypi/virtualenv/json > HTTP/1.1 301 Moved Permanently > ... Well, http://pypi.org/.. which is

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Alexander Belopolsky
On Tue, Jul 25, 2017 at 3:33 PM, Nick Timkovich wrote: > On Tue, Jul 25, 2017 at 1:45 PM, Aleks Bunin wrote: .. > I would guess you need to start from the API (e.g. > https://wiki.python.org/moin/PyPIJSON) and go wherever it says. Unfortunately it

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Nick Timkovich
On Tue, Jul 25, 2017 at 3:07 PM, Alexander Belopolsky < alexander.belopol...@gmail.com> wrote: > On Tue, Jul 25, 2017 at 3:33 PM, Nick Timkovich > wrote: > > On Tue, Jul 25, 2017 at 1:45 PM, Aleks Bunin wrote: > .. > > I would guess you need to start

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Wes Turner
On Tuesday, July 25, 2017, Nick Timkovich wrote: > On Tue, Jul 25, 2017 at 1:45 PM, Aleks Bunin > wrote: > >> I’m writing installation instructions for a package and have a question: >> what is the

Re: [Distutils] PyPi’s predictable download url

2017-07-25 Thread Nick Timkovich
On Tue, Jul 25, 2017 at 1:45 PM, Aleks Bunin wrote: > I’m writing installation instructions for a package and have a question: > what is the correct predictable URL for the package? > I would guess you need to start from the API (e.g. https://wiki.python.org/moin/PyPIJSON) and

[Distutils] PyPi’s predictable download url

2017-07-25 Thread Aleks Bunin
Hello, I’m writing installation instructions for a package and have a question: what is the correct predictable URL for the package? I found couple. Which one of these guaranteed won’t change again in the future? -