File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 86
86
87
87
- pwsh : |
88
88
mkdir -p $(TEST_PROXY_FOLDER)
89
- python -m pip install -r eng/regression_tools.txt
89
+ $(PIP_EXE) install -r eng/regression_tools.txt
90
90
displayName: 'Prep Environment'
91
91
92
92
- template : /eng/common/testproxy/test-proxy-tool.yml
Original file line number Diff line number Diff line change @@ -161,19 +161,21 @@ function Get-AllPackageInfoFromRepo ($serviceDirectory)
161
161
$allPkgPropLines = $null
162
162
try
163
163
{
164
+ $pathToBuild = (Join-Path $RepoRoot " tools" " azure-sdk-tools[build]" )
164
165
# Use ‘uv pip install’ if uv is on PATH, otherwise fall back to python -m pip
165
166
if (Get-Command uv - ErrorAction SilentlyContinue) {
166
167
Write-Host " Using uv pip install"
167
- $null = uv pip install " ./tools/azure-sdk-tools[build] "
168
+ $null = uv pip install " $pathToBuild "
168
169
$freezeOutput = uv pip freeze
169
170
Write-Host " Pip freeze output: $freezeOutput "
170
171
} else {
171
172
Write-Host " Using python -m pip install"
172
- $null = python - m pip install " ./tools/azure-sdk-tools[build] " - q - I
173
+ $null = python - m pip install " $pathToBuild " - q - I
173
174
}
174
175
175
- Write-Host " Running get_package_properties.py to retrieve package properties"
176
- $allPkgPropLines = python (Join-path eng scripts get_package_properties.py) - s $searchPath
176
+ $scriptLoc = Join-path $RepoRoot eng scripts get_package_properties.py
177
+ Write-Host " Running '$scriptLoc ' to retrieve package properties"
178
+ $allPkgPropLines = python " $scriptLoc " - s " $ ( Join-Path $RepoRoot $searchPath ) "
177
179
}
178
180
catch
179
181
{
You can’t perform that action at this time.
0 commit comments