summaryrefslogtreecommitdiff
path: root/ci/install.ps1
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-09-14 10:59:06 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-09-14 10:59:06 -0400
commit49e146871e23c27ece6704144248e192c0d1a0d4 (patch)
tree670ffc085fe7e02d5b48ecef6a24afa11ece2304 /ci/install.ps1
parent2b710f0350d6d820214054deffd6b818e2f8d21b (diff)
downloadpython-coveragepy-git-49e146871e23c27ece6704144248e192c0d1a0d4.tar.gz
Diagnosing get-pip.py problems on Appveyor 2.6
Diffstat (limited to 'ci/install.ps1')
-rw-r--r--ci/install.ps15
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/install.ps1 b/ci/install.ps1
index 0357ad21..03e7866e 100644
--- a/ci/install.ps1
+++ b/ci/install.ps1
@@ -9,6 +9,7 @@ $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)
@@ -164,8 +165,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 $GET_PIP_PATH
- Start-Process -FilePath "$python_path" -ArgumentList "$GET_PIP_PATH" -Wait -Passthru
+ Write-Host "Executing:" $python_path $RUN_GET_PIP_PATH
+ Start-Process -FilePath "$python_path" -ArgumentList "$RUN_GET_PIP_PATH" -Wait -Passthru
} else {
Write-Host "pip already installed."
}