Files
purple-electrumwallet/contrib/build-wine/prepare-hw.sh
T

29 lines
668 B
Bash
Raw Normal View History

2015-10-23 12:51:54 +02:00
#!/bin/bash
2017-10-20 15:49:01 +02: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 12:51:54 +02:00
BRANCH=master
2017-10-17 04:04:15 +02:00
PYTHON_VERSION=3.5.4
2015-10-23 12:51:54 +02:00
# These settings probably don't need any change
2016-02-24 19:06:13 +01:00
export WINEPREFIX=/opt/wine64
2015-10-23 12:51:54 +02:00
2017-10-17 04:04:15 +02:00
PYHOME=c:/python$PYTHON_VERSION
PYTHON="wine $PYHOME/python.exe -OO -B"
2015-10-23 12:51:54 +02:00
# Let's begin!
cd `dirname $0`
set -e
cd tmp
2017-08-10 17:53:17 +02:00
$PYTHON -m pip install setuptools --upgrade
2017-11-28 00:30:06 +01: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 12:51:54 +02:00