commit d467a5a8ec9353d9ccf0fea980a4fc44eef1d475 parent fa6c213d5ff02abfdfd253fa4b29da73b258054f Author: Lucas Betschart <lucasbetschart@gmail.com> Date: Fri, 20 Apr 2018 11:10:23 +0200 Pyinstaller: Clean cache before building Clean PyInstaller cache and remove temporary files before building. Diffstat:
M | contrib/build-osx/make_osx | | | 2 | +- |
M | contrib/build-wine/build-electrum-git.sh | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/build-osx/make_osx b/contrib/build-osx/make_osx @@ -88,7 +88,7 @@ for d in ~/Library/Python/ ~/.pyenv .; do done info "Building binary" -pyinstaller --noconfirm --ascii --name $VERSION contrib/build-osx/osx.spec || fail "Could not build binary" +pyinstaller --noconfirm --ascii --clean --name $VERSION contrib/build-osx/osx.spec || fail "Could not build binary" info "Creating .DMG" hdiutil create -fs HFS+ -volname $PACKAGE -srcfolder dist/$PACKAGE.app dist/electrum-$VERSION.dmg || fail "Could not create .DMG" diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh @@ -75,7 +75,7 @@ cd .. rm -rf dist/ # build standalone and portable versions -wine "C:/python$PYTHON_VERSION/scripts/pyinstaller.exe" --noconfirm --ascii --name $NAME_ROOT-$VERSION -w deterministic.spec +wine "C:/python$PYTHON_VERSION/scripts/pyinstaller.exe" --noconfirm --ascii --clean --name $NAME_ROOT-$VERSION -w deterministic.spec # set timestamps in dist, in order to make the installer reproducible pushd dist