stable/build_helpers/install_windows.ps1

18 lines
685 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
# Invoke-WebRequest -Uri "https://download.lfd.uci.edu/pythonlibs/xxxxxxx/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl" -OutFile "TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl"
2019-11-05 14:33:48 +00:00
2020-01-22 05:17:13 +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') {
2020-03-03 08:33:08 +00:00
pip install build_helpers\TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl
}
2020-03-03 08:40:41 +00:00
if ($pyv -eq '3.8') {
2020-03-03 08:33:08 +00:00
pip install build_helpers\TA_Lib-0.4.17-cp38-cp38-win_amd64.whl
}
2019-11-05 14:33:48 +00:00
pip install -r requirements-dev.txt
pip install -e .