commit 6acc4214c9aca5371aa6697b09abe022fbaeb55b
parent ea4d2343d3d0cb0b69a8641428129004f742a819
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 8 Nov 2017 15:01:45 +0100
Merge branch 'master' of github.com:spesmilo/electrum
Diffstat:
1 file changed, 25 insertions(+), 2 deletions(-)
diff --git a/contrib/build-wine/deterministic.spec b/contrib/build-wine/deterministic.spec
@@ -65,7 +65,14 @@ for d in a.datas:
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
+
+exe_dependent = EXE(
+ pyz,
+ a.scripts,
+ exclude_binaries=True,
+ name=os.path.join('build\\pyi.win32\\electrum', cmdline_name),
+ debug=False,
+ strip=None,
+ upx=False,
+ icon=home+'icons/electrum.ico',
+ console=False)
+
+coll = COLLECT(
+ exe_dependent,
a.binaries,
a.zipfiles,
a.datas,