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:
@@ -13,6 +13,10 @@ echo "Clearing $here/build and $here/dist..."
|
|||||||
rm "$here"/build/* -rf
|
rm "$here"/build/* -rf
|
||||||
rm "$here"/dist/* -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
|
$here/prepare-wine.sh || exit 1
|
||||||
|
|
||||||
echo "Resetting modification time in C:\Python..."
|
echo "Resetting modification time in C:\Python..."
|
||||||
|
|||||||
@@ -86,8 +86,6 @@ echo "done"
|
|||||||
|
|
||||||
wine 'wineboot'
|
wine 'wineboot'
|
||||||
|
|
||||||
mkdir -p /tmp/electrum-build
|
|
||||||
|
|
||||||
cd /tmp/electrum-build
|
cd /tmp/electrum-build
|
||||||
|
|
||||||
# Install Python
|
# Install Python
|
||||||
|
|||||||
Reference in New Issue
Block a user