Skip to content

Commit f99d073

Browse files
committed
Run pre-commit, move -U to req install
1 parent 3ebbd45 commit f99d073

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

pkg/windows/install_salt.ps1

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -119,29 +119,12 @@ if ( ! $SkipInstall ) {
119119
}
120120
}
121121

122-
123-
#-------------------------------------------------------------------------------
124-
# Updating pip, setuptools, and wheel
125-
#-------------------------------------------------------------------------------
126-
Write-Host "Updating pip, setuptools, and wheel: " -NoNewline
127-
$env:PIP_CONSTRAINT = "$PROJECT_DIR\requirements\constraints.txt"
128-
Start-Process -FilePath $SCRIPTS_DIR\pip3.exe `
129-
-ArgumentList "install", "-U", "pip", "setuptools", "wheel" `
130-
-WorkingDirectory "$PROJECT_DIR" `
131-
-Wait -WindowStyle Hidden
132-
if ( Test-Path -Path "$SCRIPTS_DIR\distro.exe" ) {
133-
Write-Result "Success" -ForegroundColor Green
134-
} else {
135-
Write-Result "Failed" -ForegroundColor Red
136-
exit 1
137-
}
138-
139122
#-------------------------------------------------------------------------------
140123
# Installing dependencies
141124
#-------------------------------------------------------------------------------
142125
Write-Host "Installing dependencies: " -NoNewline
143126
Start-Process -FilePath $SCRIPTS_DIR\pip3.exe `
144-
-ArgumentList "install", "-r", "$SALT_DEPS" `
127+
-ArgumentList "install", "-r", "$SALT_DEPS", "-U" `
145128
-WorkingDirectory "$PROJECT_DIR" `
146129
-Wait -WindowStyle Hidden
147130
if ( Test-Path -Path "$SCRIPTS_DIR\distro.exe" ) {

0 commit comments

Comments
 (0)