aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.spec
diff options
context:
space:
mode:
Diffstat (limited to 'main.spec')
-rw-r--r--main.spec48
1 files changed, 48 insertions, 0 deletions
diff --git a/main.spec b/main.spec
new file mode 100644
index 00000000..1520de0f
--- /dev/null
+++ b/main.spec
@@ -0,0 +1,48 @@
+# -*- mode: python ; coding: utf-8 -*-
+
+block_cipher = None
+
+
+a = Analysis(['main.py'],
+ pathex=['./'],
+ binaries=[],
+ datas=[],
+ hiddenimports=[
+ 'websockets.legacy.auth',
+ 'websockets.legacy.client',
+ 'websockets.legacy.server'
+ ],
+ hookspath=['./hook'],
+ runtime_hooks=[],
+ excludes=[],
+ win_no_prefer_redirects=False,
+ win_private_assemblies=False,
+ cipher=block_cipher,
+ noarchive=False)
+splash = Splash(
+ './resource/intro.jpg',
+ binaries=a.binaries,
+ datas=a.datas,
+ text_pos=None,
+ text_size=12,
+ minify_script=True,
+ always_on_top=True,
+)
+pyz = PYZ(a.pure, a.zipped_data,
+ cipher=block_cipher)
+exe = EXE(pyz,
+ a.scripts,
+ a.binaries,
+ a.zipfiles,
+ a.datas,
+ splash,
+ splash.binaries,
+ [],
+ name='main',
+ debug=False,
+ bootloader_ignore_signals=False,
+ strip=False,
+ upx=True,
+ upx_exclude=[],
+ runtime_tmpdir=None,
+ console=False , icon='resource/favoricon.ico')