Skip to content

Commit

Permalink
fix InstallComtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd committed Oct 2, 2023
1 parent 97bd990 commit 66eda19
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ci/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ function UpdateConda ($python_home) {
}

function InstallComtypes ($python_home) {
$pip_path = $python_home + "\Scripts\pip.exe"
$args = "install comtypes"
Start-Process -FilePath "$pip_path" -ArgumentList $args -Wait -Passthru
$python_path = $python_home + "\python.exe"
$args = "pip install comtypes"
Start-Process -FilePath "$python_path" -ArgumentList $args -Wait -Passthru
}

function main () {
Expand All @@ -110,6 +110,9 @@ function main () {
#InstallMiniconda $env:PYTHON_VERSION $env:PYTHON_ARCH $env:PYTHON
#UpdateConda $env:PYTHON
#InstallCondaPackages $env:PYTHON "pywin32 Pillow coverage nose"
# if ($env:UIA_SUPPORT -eq "YES") {
# InstallCondaPackages $env:PYTHON "comtypes"
# }
}

main

0 comments on commit 66eda19

Please sign in to comment.