diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-04-25 18:10:50 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-04-25 18:10:50 -0500 |
commit | 986a23340249b89c48ae005b1efc57263e5ccbdd (patch) | |
tree | 5b40d0138f57443bc1d6354bcec70633f38da341 | |
parent | 005cb1dd7e423160a3af26a41281dbf8ea2cd5b9 (diff) | |
parent | 3728c541b655efb91a14868d93a38216149e6757 (diff) | |
download | python-setuptools-git-986a23340249b89c48ae005b1efc57263e5ccbdd.tar.gz |
Merge pull request #559 from buildout/master
Fix setuptools url and curl wants --location to follow redirects
-rw-r--r-- | ez_setup.py | 4 |
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) |