Fix powershell comparison
This commit is contained in:
parent
720ed0eddd
commit
9bebc9ba76
@ -6,10 +6,10 @@ python -m pip install --upgrade pip
|
|||||||
|
|
||||||
$pyv = python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')"
|
$pyv = python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')"
|
||||||
|
|
||||||
if ($pyv == '3.7') {
|
if ($pyv -eq '3.7') {
|
||||||
pip install build_helpers\TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl
|
pip install build_helpers\TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl
|
||||||
}
|
}
|
||||||
if ($pyv == '3.8') {
|
if ($pyv -eq '3.8') {
|
||||||
pip install build_helpers\TA_Lib-0.4.17-cp38-cp38-win_amd64.whl
|
pip install build_helpers\TA_Lib-0.4.17-cp38-cp38-win_amd64.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user