stable/build_helpers/install_windows.ps1

19 lines
620 B
PowerShell
Raw Normal View History

2019-11-11 09:36:38 +00:00
# Downloads don't work automatically, since the URL is regenerated via javascript.
# Downloaded from https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib
2019-11-05 14:33:48 +00:00
python -m pip install --upgrade pip wheel
2020-03-03 08:33:08 +00:00
$pyv = python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')"
2020-03-03 08:40:41 +00:00
if ($pyv -eq '3.8') {
2022-01-11 06:16:49 +00:00
pip install build_helpers\TA_Lib-0.4.24-cp38-cp38-win_amd64.whl
2021-07-19 17:25:32 +00:00
}
if ($pyv -eq '3.9') {
2022-01-11 06:16:49 +00:00
pip install build_helpers\TA_Lib-0.4.24-cp39-cp39-win_amd64.whl
2020-03-03 08:33:08 +00:00
}
2021-12-30 10:31:44 +00:00
if ($pyv -eq '3.10') {
2022-01-11 06:16:49 +00:00
pip install build_helpers\TA_Lib-0.4.24-cp310-cp310-win_amd64.whl
2021-12-30 10:31:44 +00:00
}
2019-11-05 14:33:48 +00:00
pip install -r requirements-dev.txt
pip install -e .