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 <prometheus...@gmail.com> > wrote: > > On Tue, Jul 25, 2017 at 1:45 PM, Aleks Bunin <b...@enlnt.com> 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 currently says > "http://pypi.python.org/pypi/<package_name>/json", which does not > work. It looks like https is now required. With the http: prefix > curl silently returns nothing. > 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 ...
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig