aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-04-26 06:27:19 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-04-26 07:00:01 -0700
commit06736eec5894df69dc267876cf78381804df3ada (patch)
tree24190c5287bc67947ab76d58e98d2f958b2400a0 /setuptools/package_index.py
parentd0800d78a78809020b1681574061490019096657 (diff)
downloadexternal_python_setuptools-06736eec5894df69dc267876cf78381804df3ada.tar.gz
external_python_setuptools-06736eec5894df69dc267876cf78381804df3ada.tar.bz2
external_python_setuptools-06736eec5894df69dc267876cf78381804df3ada.zip
Update all pypi.python.org URLs to pypi.org
For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 914b5e61..b6407be3 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -297,7 +297,7 @@ class PackageIndex(Environment):
"""A distribution index that scans web pages for download URLs"""
def __init__(
- self, index_url="https://pypi.python.org/simple", hosts=('*',),
+ self, index_url="https://pypi.org/simple/", hosts=('*',),
ca_bundle=None, verify_ssl=True, *args, **kw
):
Environment.__init__(self, *args, **kw)