From 91c07d194a0bf96d953feb175dc780f5cfaf44b3 Mon Sep 17 00:00:00 2001 From: Ivan Holmes Date: Thu, 31 Oct 2019 16:47:32 +0000 Subject: [PATCH] Add separate spec file for Windows build --- win.spec | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 win.spec diff --git a/win.spec b/win.spec new file mode 100644 index 0000000..b78d7d3 --- /dev/null +++ b/win.spec @@ -0,0 +1,36 @@ +# -*- mode: python ; coding: utf-8 -*- + +block_cipher = None + + +a = Analysis(['gui.py'], + pathex=['C:\\Users\\Ivan Holmes\\code\\chordsheet'], + binaries=[], + datas=[ + ('fonts', 'fonts'), + ('ui', 'ui') + ], + hiddenimports=[], + hookspath=[], + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False) +pyz = PYZ(a.pure, a.zipped_data, + cipher=block_cipher) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + [], + name='Chordsheet', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=False )