From 040bbcc5450ba633c3e9d599c50648b442288159 Mon Sep 17 00:00:00 2001 From: InvisibleSymbol Date: Sat, 19 Jun 2021 20:03:10 +0200 Subject: [PATCH] add pyinstaller build spec --- osu!cleaner.spec | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 osu!cleaner.spec diff --git a/osu!cleaner.spec b/osu!cleaner.spec new file mode 100644 index 0000000..99266a5 --- /dev/null +++ b/osu!cleaner.spec @@ -0,0 +1,38 @@ +# -*- mode: python ; coding: utf-8 -*- + +block_cipher = None + + +a = Analysis(['main.py'], + pathex=['.'], + binaries=[], + datas=[(os.path.abspath("res"), "res")], + hiddenimports=[], + hookspath=["hooks"], + 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, + [], + exclude_binaries=True, + name='osu!cleaner', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=False, + icon=os.path.abspath('res/icon.ico'), + console=False) +coll = COLLECT(exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=False, + upx_exclude=[], + name='osu!cleaner')