a.binaries = [x for x in a.binaries if not x[1].lower().startswith(r'c:\windows')]
pyz = PYZ(a.pure)
exe = EXE(pyz,
#####
# "standalone" exe with all dependencies packed into it
# (or "portable", depending on cmdline_name)
exe_standalone = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
@ -77,7 +84,23 @@ exe = EXE(pyz,
console=False)
# The console True makes an annoying black box pop up, but it does make Electrum output command line commands, with this turned off no output will be given but commands can still be used
coll = COLLECT(exe,
#####
# exe and separate files that NSIS uses to build installer "setup" exe
# FIXME: this is redundantly done again, when building the "portable" exe