diff options
author | wbond <will@wbond.net> | 2018-04-17 01:22:24 -0400 |
---|---|---|
committer | wbond <will@wbond.net> | 2018-04-17 01:22:24 -0400 |
commit | 4c0baa5d4d29fc4a8761d0454456fc921da49294 (patch) | |
tree | d537303feb4008e3769ae30a90ae0bd31deb4ff8 /dev | |
parent | 2b7bfc85c658fc484adc440c92bc6fed6477a66c (diff) | |
download | asn1crypto-4c0baa5d4d29fc4a8761d0454456fc921da49294.tar.gz |
Try to help PyPy on CirclCI
Diffstat (limited to 'dev')
-rw-r--r-- | dev/deps.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/deps.py b/dev/deps.py index 9a6d3d9..4a92d84 100644 --- a/dev/deps.py +++ b/dev/deps.py @@ -361,16 +361,16 @@ def _bootstrap_pip(tmpdir): to pass to pip. """ + print("Downloading cacert.pem from curl") + certs_path = _download('https://curl.haxx.se/ca/cacert.pem', tmpdir) + try: import pip print('Upgrading pip') _pip_main(pip, ['install', '-q', '--upgrade', 'pip']) - certs_path = None except ImportError: - print("Downloading cacert.pem from curl") - certs_path = _download('https://curl.haxx.se/ca/cacert.pem', tmpdir) if sys.platform == 'darwin' and sys.version_info[0:2] == (2, 6): path = _download('https://github.com/wbond/pip-9.0.3-py26-mac/releases/download/9.0.3%2Bsecuretransport.py26/pip-9.0.3-py2.py3-none-any.whl', tmpdir) |