mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
only attempt poetry install when not present (#18811)
This commit is contained in:
+5
-1
@@ -102,7 +102,11 @@ foreach ($extra in $extras)
|
||||
$extras_cli += $extra
|
||||
}
|
||||
|
||||
./Setup-poetry.ps1 -pythonVersion "$pythonVersion"
|
||||
if (-not (Get-Item -ErrorAction SilentlyContinue ".penv/Scripts/poetry.exe").Exists)
|
||||
{
|
||||
./Setup-poetry.ps1 -pythonVersion "$pythonVersion"
|
||||
}
|
||||
|
||||
.penv/Scripts/poetry env use $(py -"$pythonVersion" -c 'import sys; print(sys.executable)')
|
||||
.penv/Scripts/poetry install @extras_cli
|
||||
|
||||
|
||||
Reference in New Issue
Block a user