From 2a4d54b56859d44e6f83497cb766e9a37eaf8ba7 Mon Sep 17 00:00:00 2001 From: Forrest Heller Date: Wed, 8 Nov 2017 20:45:55 +0800 Subject: [PATCH] Use HTTPS for pypi distribute download. PIP switched to HTTP only and currently `python ez_setup.py` fails with: urllib2.HTTPError: HTTP Error 403: SSL is required After this commit: Downloading https://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz Extracting in /var/folders/8k/ywnwxb6d5kd2gqjfdmmtfzkw0000gn/T/tmpYf2lHV ... Here's the announcement: https://mail.python.org/pipermail/distutils-sig/2017-October/031712.html --- ez_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ez_setup.py b/ez_setup.py index 3ea2e66..f4c3516 100644 --- a/ez_setup.py +++ b/ez_setup.py @@ -47,7 +47,7 @@ def quote(arg): return os.spawnl(os.P_WAIT, sys.executable, *args) == 0 DEFAULT_VERSION = "0.6.14" -DEFAULT_URL = "http://pypi.python.org/packages/source/d/distribute/" +DEFAULT_URL = "https://pypi.python.org/packages/source/d/distribute/" SETUPTOOLS_FAKED_VERSION = "0.6c11" SETUPTOOLS_PKG_INFO = """\