summaryrefslogtreecommitdiff
path: root/ez_setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'ez_setup.py')
-rw-r--r--ez_setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ez_setup.py b/ez_setup.py
index d6f4b78c..a39054bf 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -33,7 +33,7 @@ except ImportError:
LATEST = object()
DEFAULT_VERSION = LATEST
-DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/"
+DEFAULT_URL = "https://pypi.io/packages/source/s/setuptools/"
DEFAULT_SAVE_DIR = os.curdir
@@ -253,7 +253,7 @@ download_file_powershell.viable = has_powershell
def download_file_curl(url, target):
- cmd = ['curl', url, '--silent', '--output', target]
+ cmd = ['curl', url, '--location', '--silent', '--output', target]
_clean_check(cmd, target)