electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit deab75fe20259f685f40ab1260006be830c28013
parent d213a7cd4f09d85fdc75a1d4c9fe38473dac7220
Author: SomberNight <somber.night@protonmail.com>
Date:   Sat, 31 Mar 2018 00:11:57 +0200

windows build script: cache pip

previously pip was caching into the wine directory, which we delete and recreate on every run

Diffstat:
Mcontrib/build-wine/build.sh | 4++++
Mcontrib/build-wine/prepare-wine.sh | 2--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/build-wine/build.sh b/contrib/build-wine/build.sh @@ -13,6 +13,10 @@ echo "Clearing $here/build and $here/dist..." rm "$here"/build/* -rf rm "$here"/dist/* -rf +mkdir -p /tmp/electrum-build +mkdir -p /tmp/electrum-build/pip-cache +export PIP_CACHE_DIR="/tmp/electrum-build/pip-cache" + $here/prepare-wine.sh || exit 1 echo "Resetting modification time in C:\Python..." diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh @@ -86,8 +86,6 @@ echo "done" wine 'wineboot' -mkdir -p /tmp/electrum-build - cd /tmp/electrum-build # Install Python