Skip to content

Commit 051e9e0

Browse files
fixup! [windows] add backup pip install when no wheels are available
1 parent ffd801b commit 051e9e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ function Get-Dependencies {
10311031
}
10321032
}
10331033

1034-
function Is-Python-Module-Installed([string] $ModuleName) {
1034+
function Test-PythonModuleInstalled([string] $ModuleName) {
10351035
try {
10361036
Invoke-Program -Silent "$(Get-PythonExecutable)" -c "import $ModuleName"
10371037
return $true;
@@ -1048,7 +1048,7 @@ function Get-Dependencies {
10481048
}
10491049

10501050
function Install-PythonModule([string] $ModuleName) {
1051-
if (Is-Python-Module-Installed $ModuleName) {
1051+
if (Test-PythonModuleInstalled $ModuleName) {
10521052
Write-Output "$ModuleName already installed."
10531053
return;
10541054
}

0 commit comments

Comments
 (0)