2018-07-24 09:06:53 +02:00
|
|
|
set -x
|
2019-06-05 23:35:26 +02:00
|
|
|
# must also be updated in travis.yml
|
|
|
|
TORBA_VERSION=master
|
2018-07-24 09:06:53 +02:00
|
|
|
rm -rf /tmp/.wine-*
|
|
|
|
|
|
|
|
apt-get -qq update
|
|
|
|
apt-get -qq install -y git
|
2019-06-05 23:35:26 +02:00
|
|
|
|
2019-02-26 22:01:19 +01:00
|
|
|
pip install setuptools_scm
|
2018-07-24 09:06:53 +02:00
|
|
|
|
|
|
|
cd lbry
|
2018-11-26 22:21:46 +01:00
|
|
|
|
|
|
|
# Download from their CI until its not released. Remove later!
|
|
|
|
wget -Onetifaces-0.10.7-cp37-cp37m-win32.whl https://ci.appveyor.com/api/buildjobs/6hworunifsymrhp2/artifacts/dist%2Fnetifaces-0.10.7-cp37-cp37m-win32.whl
|
|
|
|
pip install netifaces-0.10.7-cp37-cp37m-win32.whl
|
|
|
|
|
2019-06-05 23:35:26 +02:00
|
|
|
git clone --depth=1 --single-branch --branch ${TORBA_VERSION} https://github.com/lbryio/torba.git
|
|
|
|
cd torba
|
|
|
|
pip install .
|
|
|
|
cd ..
|
|
|
|
rm -rf torba
|
2019-05-24 22:14:47 +02:00
|
|
|
|
2019-06-05 23:35:26 +02:00
|
|
|
pip show torba
|
2018-07-24 09:06:53 +02:00
|
|
|
pip install -e .
|
2018-11-26 22:21:46 +01:00
|
|
|
pip install pywin32
|
|
|
|
|
2018-11-29 22:37:50 +01:00
|
|
|
pyinstaller --additional-hooks-dir=scripts/. --icon=icons/lbry256.ico -F -n lbrynet lbrynet/extras/cli.py
|
2018-07-27 04:04:43 +02:00
|
|
|
wine dist/lbrynet.exe --version
|