freqtrade_origin/build_helpers/install_windows.ps1

18 lines
693 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
2021-01-31 09:29:43 +00:00
python -m pip install --upgrade pip==21.0.0
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') {
pip install build_helpers\TA_Lib-0.4.19-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') {
pip install build_helpers\TA_Lib-0.4.19-cp38-cp38-win_amd64.whl
2020-03-03 08:33:08 +00:00
}
2019-11-05 14:33:48 +00:00
pip install -r requirements-dev.txt
pip install -e .