windows build script: cache pip

previously pip was caching into the wine directory, which we delete and recreate on every run
This commit is contained in:
SomberNight 2018-03-31 00:11:57 +02:00
parent d213a7cd4f
commit deab75fe20
2 changed files with 4 additions and 2 deletions

View file

@ -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..."

View file

@ -86,8 +86,6 @@ echo "done"
wine 'wineboot'
mkdir -p /tmp/electrum-build
cd /tmp/electrum-build
# Install Python