From 461d5feb01347e0b5bbe31fe7721e006845beaa7 Mon Sep 17 00:00:00 2001 From: junhui324 Date: Fri, 7 Aug 2026 14:23:23 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20.gitignore=20=EB=B3=B4=EA=B0=95=20?= =?UTF-8?q?=EB=B0=8F=20PyInstaller=20spec=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - build/, dist/, __pycache__/, .claude/, _backup/ 제외 처리 - 실행파일 빌드용 app.spec 버전 관리에 포함 Co-Authored-By: Claude Fable 5 --- .gitignore | 8 ++++++++ app.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 app.spec diff --git a/.gitignore b/.gitignore index 1885fee..7478118 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,11 @@ __pycache__/ .venv/ venv/ .env + +# PyInstaller build outputs +build/ +dist/ + +# local tool / backup folders +.claude/ +_backup/ diff --git a/app.spec b/app.spec new file mode 100644 index 0000000..f9db648 --- /dev/null +++ b/app.spec @@ -0,0 +1,44 @@ +# -*- mode: python ; coding: utf-8 -*- + + +a = Analysis( + ['app.py'], + pathex=[], + binaries=[], + datas=[('templates', 'templates'), ('static', 'static'), ('SDK', 'SDK'), ('api_routes.py', 'api_routes.py')], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + noarchive=False, + optimize=0, +) +pyz = PYZ(a.pure) + +exe = EXE( + pyz, + a.scripts, + [], + exclude_binaries=True, + name='app', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, +) +coll = COLLECT( + exe, + a.binaries, + a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='app', +)