diff --git a/setup.py b/setup.py index cb0ac94c..666810c4 100755 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ "x64": "64"} def download_check_fail(url, expected_type): - response = requests.get(url, allow_redirects=True) + response = requests.get(url, allow_redirects=True, timeout=60) if not response.ok: raise RuntimeError("error retrieving "+response.url) if response.headers.get('content-type') != expected_type: