-WIP-electrum-btcp/contrib/build-wine/prepare-hw.sh

29 lines
668 B
Bash
Raw Normal View History

2015-10-23 03:51:54 -07:00
#!/bin/bash
2017-10-20 06:49:01 -07:00
TREZOR_GIT_URL=https://github.com/trezor/python-trezor.git
KEEPKEY_GIT_URL=https://github.com/keepkey/python-keepkey.git
BTCHIP_GIT_URL=https://github.com/LedgerHQ/btchip-python.git
2015-10-23 03:51:54 -07:00
BRANCH=master
2017-10-16 19:04:15 -07:00
PYTHON_VERSION=3.5.4
2015-10-23 03:51:54 -07:00
# These settings probably don't need any change
2016-02-24 10:06:13 -08:00
export WINEPREFIX=/opt/wine64
2015-10-23 03:51:54 -07:00
2017-10-16 19:04:15 -07:00
PYHOME=c:/python$PYTHON_VERSION
PYTHON="wine $PYHOME/python.exe -OO -B"
2015-10-23 03:51:54 -07:00
# Let's begin!
cd `dirname $0`
set -e
cd tmp
$PYTHON -m pip install setuptools --upgrade
2017-11-27 15:30:06 -08:00
$PYTHON -m pip install cython --upgrade
$PYTHON -m pip install trezor==0.7.16 --upgrade
$PYTHON -m pip install keepkey==4.0.0 --upgrade
$PYTHON -m pip install btchip-python==0.1.23 --upgrade
2015-10-23 03:51:54 -07:00