stable/build_helpers/install_windows.ps1

22 lines
707 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
2021-01-31 09:39:37 +00:00
python -m pip install --upgrade pip
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.7') {
2021-12-13 18:05:23 +00:00
pip install build_helpers\TA_Lib-0.4.22-cp37-cp37m-win_amd64.whl
2020-03-03 08:33:08 +00:00
}
2020-03-03 08:40:41 +00:00
if ($pyv -eq '3.8') {
2021-12-13 18:05:23 +00:00
pip install build_helpers\TA_Lib-0.4.22-cp38-cp38-win_amd64.whl
2021-07-19 17:25:32 +00:00
}
if ($pyv -eq '3.9') {
2021-12-13 18:05:23 +00:00
pip install build_helpers\TA_Lib-0.4.22-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') {
pip install build_helpers\TA_Lib-0.4.22-cp310-cp310-win_amd64.whl
}
2019-11-05 14:33:48 +00:00
pip install -r requirements-dev.txt
pip install -e .