summaryrefslogtreecommitdiff
path: root/playoff-gui.spec
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-07-30 11:43:30 +0200
committeremkael <emkael@tlen.pl>2019-07-30 12:18:41 +0200
commitd3963540184beeca0d8193b530a1588be9c9f55d (patch)
treefd745a045508e51ef6fbffa64024acc344d80824 /playoff-gui.spec
parent064c933c53ef01a5c402d2713f96ade671aecf16 (diff)
.spec file for GUI
Diffstat (limited to 'playoff-gui.spec')
-rw-r--r--playoff-gui.spec37
1 files changed, 37 insertions, 0 deletions
diff --git a/playoff-gui.spec b/playoff-gui.spec
new file mode 100644
index 0000000..f80f0a4
--- /dev/null
+++ b/playoff-gui.spec
@@ -0,0 +1,37 @@
+# -*- mode: python -*-
+
+import os
+
+block_cipher = None
+
+icon_path = os.path.join('jfr_playoff', 'gui', 'icons')
+datas = [(icon_path, os.path.join('res', 'icons'))]
+
+a = Analysis(['gui.py'],
+ pathex=[os.path.abspath('.')],
+ datas=datas,
+ hiddenimports=['mysql.connector.locales.eng.client_error'],
+ 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='playoff-gui',
+ debug=False,
+ bootloader_ignore_signals=False,
+ strip=False,
+ upx=True,
+ runtime_tmpdir=None,
+ console=True,
+ icon=os.path.join(icon_path, 'playoff.ico'),
+ version='.version')