pypi.python.org -> pypi.org (GH-7613)

This commit is contained in:
Ned Deily 2018-06-11 00:45:50 -04:00 committed by GitHub
parent 12c6cdf4d1
commit 9d6d06e806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# Test tools for mocking and patching. # Test tools for mocking and patching.
# Maintained by Michael Foord # Maintained by Michael Foord
# Backport for other versions of Python available from # Backport for other versions of Python available from
# http://pypi.python.org/pypi/mock # https://pypi.org/project/mock
__all__ = ( __all__ = (
'Mock', 'Mock',

View File

@ -1,4 +1,4 @@
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200 {\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf400
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;} {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;}
{\colortbl;\red255\green255\blue255;} {\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;} {\*\expandedcolortbl;;}
@ -44,7 +44,7 @@ This variant of Python 3.7 includes its own private copy of OpenSSL 1.1.0. The
\f1 /Applications/Python 3.7 \f1 /Applications/Python 3.7
\f0 to install a curated bundle of default root certificates from the third-party \f0 to install a curated bundle of default root certificates from the third-party
\f1 certifi \f1 certifi
\f0 package ({\field{\*\fldinst{HYPERLINK "https://pypi.python.org/pypi/certifi"}}{\fldrslt https://pypi.python.org/pypi/certifi}}). If you choose to use \f0 package ({\field{\*\fldinst{HYPERLINK "https://pypi.org/project/certifi/"}}{\fldrslt https://pypi.org/project/certifi/}}). If you choose to use
\f1 certifi \f1 certifi
\f0 , you should consider subscribing to the{\field{\*\fldinst{HYPERLINK "https://certifi.io/en/latest/"}}{\fldrslt project's email update service}} to be notified when the certificate bundle is updated.\ \f0 , you should consider subscribing to the{\field{\*\fldinst{HYPERLINK "https://certifi.io/en/latest/"}}{\fldrslt project's email update service}} to be notified when the certificate bundle is updated.\
\ \

View File

@ -6,7 +6,7 @@
# #
# sample script to install or update a set of default Root Certificates # sample script to install or update a set of default Root Certificates
# for the ssl module. Uses the certificates provided by the certifi package: # for the ssl module. Uses the certificates provided by the certifi package:
# https://pypi.python.org/pypi/certifi # https://pypi.org/project/certifi/
import os import os
import os.path import os.path

View File

@ -448,7 +448,7 @@ Developer resources: https://devguide.python.org/
.br .br
Downloads: https://www.python.org/downloads/ Downloads: https://www.python.org/downloads/
.br .br
Module repository: https://pypi.python.org/ Module repository: https://pypi.org/
.br .br
Newsgroups: comp.lang.python, comp.lang.python.announce Newsgroups: comp.lang.python, comp.lang.python.announce
.SH LICENSING .SH LICENSING

View File

@ -14,7 +14,7 @@ def main():
for project, version in ensurepip._PROJECTS: for project, version in ensurepip._PROJECTS:
data = json.loads(urllib.request.urlopen( data = json.loads(urllib.request.urlopen(
"https://pypi.python.org/pypi/{}/json".format(project), "https://pypi.org/pypi/{}/json".format(project),
cadefault=True, cadefault=True,
).read().decode("utf8")) ).read().decode("utf8"))
upstream_version = data["info"]["version"] upstream_version = data["info"]["version"]