Added pyinstaller spec

This commit is contained in:
BarsTiger
2022-12-13 16:17:58 +02:00
parent cd8c384e95
commit 36933437f8
2 changed files with 51 additions and 1 deletions

1
.gitignore vendored
View File

@@ -5,4 +5,3 @@
/tests/ /tests/
/data/ /data/
/temp/ /temp/
*.spec

51
KotoPad.spec Normal file
View File

@@ -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',
)