1
0

build win/mac: do not pass custom args to pyinstaller; use envvars

custom args no longer work with pyinstaller 5.0 (see https://github.com/pyinstaller/pyinstaller/issues/6762 )

```
option(s) not allowed:
  ...
makespec options not valid when a .spec file is given
```
This commit is contained in:
SomberNight
2022-08-29 15:00:29 +00:00
parent 2d458d3b06
commit b3e869a5de
4 changed files with 8 additions and 13 deletions

View File

@@ -56,7 +56,7 @@ rm -rf dist/
# build standalone and portable versions
info "Running pyinstaller..."
wine "$WINE_PYHOME/scripts/pyinstaller.exe" --noconfirm --ascii --clean --name $NAME_ROOT-$VERSION -w deterministic.spec
ELECTRUM_CMDLINE_NAME="$NAME_ROOT-$VERSION" wine "$WINE_PYHOME/scripts/pyinstaller.exe" --noconfirm --ascii --clean -w deterministic.spec
# set timestamps in dist, in order to make the installer reproducible
pushd dist