aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorwbond <will@wbond.net>2018-04-17 02:04:20 -0400
committerwbond <will@wbond.net>2018-04-17 02:04:20 -0400
commitc2a829f44ec3a7283f1b44ef50206bd81399d78c (patch)
tree4d0a9aff1bffd11602278d447795fc2b16c0a947 /dev
parentbb47352b9ccfb392bb058bb9fcb535331b69f5df (diff)
downloadasn1crypto-c2a829f44ec3a7283f1b44ef50206bd81399d78c.tar.gz
Another attempt at getting PyPy running on Windows CI again
Diffstat (limited to 'dev')
-rw-r--r--dev/deps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/deps.py b/dev/deps.py
index 1657339..3e54b9f 100644
--- a/dev/deps.py
+++ b/dev/deps.py
@@ -361,6 +361,8 @@ def _bootstrap_pip(tmpdir):
to pass to pip.
"""
+ os.environ['PIP_NO_WARN_SCRIPT_LOCATION'] = '0'
+
print("Downloading cacert.pem from curl")
certs_path = _download('https://curl.haxx.se/ca/cacert.pem', tmpdir)
@@ -392,8 +394,6 @@ def _bootstrap_pip(tmpdir):
def _pip(args):
base_args = ['--disable-pip-version-check']
- if sys.platform == 'win32' and _is_pip_10(pip):
- base_args.append('--no-warn-script-location')
if certs_path:
base_args += ['--cert', certs_path]
if sys.platform == 'darwin' and sys.version_info[0:2] in [(2, 6), (2, 7)]: