diff --git a/.gitignore b/.gitignore index c64f654..ba59c97 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ /tests/ /data/ /temp/ -*.spec diff --git a/KotoPad.spec b/KotoPad.spec new file mode 100644 index 0000000..34beb54 --- /dev/null +++ b/KotoPad.spec @@ -0,0 +1,51 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['KotoPad.py'], + pathex=[], + binaries=[], + datas=[], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + 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='KotoPad', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + console=False, + disable_windowed_traceback=True, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + icon=['gui\\img\\kotopad.ico'], +) +coll = COLLECT( + exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='KotoPad', +)