summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')