diff options
| author | 2023-07-04 11:44:05 +0800 | |
|---|---|---|
| committer | 2023-07-04 11:44:05 +0800 | |
| commit | 5eebf55cb907da3eb8041934128060b5c5e16937 (patch) | |
| tree | 5d422b841c1c265ad400feaea5065321ad022f1d | |
| parent | 415e46b73a9acdd509c309bf9b9c20ca40b62c82 (diff) | |
| download | infini-5eebf55cb907da3eb8041934128060b5c5e16937.tar.gz infini-5eebf55cb907da3eb8041934128060b5c5e16937.zip | |
Create main.spec
| -rw-r--r-- | main.spec | 48 |
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') |
