summaryrefslogtreecommitdiff
path: root/ci/install.ps1
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-09-14 11:31:14 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-09-14 11:31:14 -0400
commit5855fb070348265fc4b0a1ad10ee5a13683681b5 (patch)
tree24c0dd8ac715d81a2725ec74da4b8f005e20a6c5 /ci/install.ps1
parent39689cfba30174bc1ba4b5f4f7ebd10b107e120d (diff)
downloadpython-coveragepy-git-5855fb070348265fc4b0a1ad10ee5a13683681b5.tar.gz
Go back to using the downloaded get-pip.py
Diffstat (limited to 'ci/install.ps1')
-rw-r--r--ci/install.ps16
1 files changed, 2 insertions, 4 deletions
diff --git a/ci/install.ps1 b/ci/install.ps1
index 330005e6..f9934aa1 100644
--- a/ci/install.ps1
+++ b/ci/install.ps1
@@ -9,7 +9,6 @@ $MINICONDA_URL = "http://repo.continuum.io/miniconda/"
$BASE_URL = "https://www.python.org/ftp/python/"
$GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
$GET_PIP_PATH = "C:\get-pip.py"
-$RUN_GET_PIP_PATH = "ci\get-pip.py"
$PYTHON_PRERELEASE_REGEX = @"
(?x)
@@ -165,9 +164,8 @@ function InstallPip ($python_home) {
Write-Host "Installing pip..."
$webclient = New-Object System.Net.WebClient
$webclient.DownloadFile($GET_PIP_URL, $GET_PIP_PATH)
- Write-Host "Executing:" $python_path $RUN_GET_PIP_PATH
- #Start-Process -FilePath "$python_path" -ArgumentList "$RUN_GET_PIP_PATH" -Wait -Passthru
- & $python_path $RUN_GET_PIP_PATH -v
+ Write-Host "Executing:" $python_path $GET_PIP_PATH
+ & $python_path $GET_PIP_PATH
} else {
Write-Host "pip already installed."
}