twindows build script: cache pip - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit deab75fe20259f685f40ab1260006be830c28013 (DIR) parent d213a7cd4f09d85fdc75a1d4c9fe38473dac7220 (HTM) 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: M contrib/build-wine/build.sh | 4 ++++ M contrib/build-wine/prepare-wine.sh | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) --- (DIR) diff --git a/contrib/build-wine/build.sh b/contrib/build-wine/build.sh t@@ -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..." (DIR) diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh t@@ -86,8 +86,6 @@ echo "done" wine 'wineboot' -mkdir -p /tmp/electrum-build - cd /tmp/electrum-build # Install Python