From 5bbba0b65ac2fe29a40b68edf1b8bafde9e26ea9 Mon Sep 17 00:00:00 2001
From: Lex Berezhny <lex@damoti.com>
Date: Thu, 20 Jun 2019 16:48:47 -0400
Subject: [PATCH] updated windows build

---
 .travis.yml                |  2 +-
 lbry/scripts/wine_build.sh | 10 ++--------
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 9704b679b..a183c1c74 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -89,8 +89,8 @@ jobs:
       env: OS=linux
       install:
         - pip3 install pyinstaller
-        - python3 scripts/set_build.py
         - cd torba && pip3 install -e .
+        - cd lbry && python3 scripts/set_build.py
         - cd lbry && pip3 install -e .
       script:
         - cd lbry && pyinstaller -F -n lbrynet lbrynet/extras/cli.py
diff --git a/lbry/scripts/wine_build.sh b/lbry/scripts/wine_build.sh
index d9d342f97..57ba65bc3 100755
--- a/lbry/scripts/wine_build.sh
+++ b/lbry/scripts/wine_build.sh
@@ -1,6 +1,4 @@
 set -x
-# must also be updated in travis.yml
-TORBA_VERSION=master
 rm -rf /tmp/.wine-*
 
 apt-get -qq update
@@ -8,19 +6,15 @@ apt-get -qq install -y git
 
 pip install setuptools_scm
 
-cd lbry
-
 # 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
 
-git clone --depth=1 --single-branch --branch ${TORBA_VERSION} https://github.com/lbryio/torba.git
+cd lbry
 cd torba
 pip install .
 cd ..
-rm -rf torba
-
-pip show torba
+cd lbry
 pip install -e .
 pip install pywin32