From c61f73fa33bbf9de9a2155201466f3a16f67cab3 Mon Sep 17 00:00:00 2001 From: junhui324 Date: Fri, 7 Aug 2026 16:40:11 +0900 Subject: [PATCH] =?UTF-8?q?build:=20app.spec=EC=97=90=20=EB=B9=8C=EB=93=9C?= =?UTF-8?q?=20=EB=AA=85=EB=A0=B9=EC=96=B4=20=EC=95=88=EB=82=B4=20=EC=A3=BC?= =?UTF-8?q?=EC=84=9D=20=EC=B6=94=EA=B0=80,=20exe=20=EC=9D=B4=EB=A6=84?= =?UTF-8?q?=EC=9D=84=20=ED=8C=94=EB=A0=88=ED=83=80=EC=9D=B4=EC=A7=95?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EA=B3=A0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - pyinstaller app.spec 한 번으로 dist\app\팔레타이징.exe 가 바로 나오도록 EXE name 변경 (기존: app.exe 빌드 후 수동 이름 변경) - 빌드용 패키지 설치 명령과 파이썬 버전 참고사항을 spec 상단에 문서화 Co-Authored-By: Claude Fable 5 --- app.spec | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/app.spec b/app.spec index f9db648..3ae9a93 100644 --- a/app.spec +++ b/app.spec @@ -1,4 +1,20 @@ # -*- mode: python ; coding: utf-8 -*- +# ═════════════════════════════════════════════════════════════════ +# 팔레타이징 앱 실행파일 빌드 설정 (PyInstaller) +# +# [빌드 명령어] +# pyinstaller app.spec +# → 산출물: dist\app\팔레타이징.exe (더블클릭 실행, dist\app 폴더째 배포) +# +# [사전 준비 - 빌드용 파이썬에 패키지 설치] +# python -m pip install pyinstaller flask waitress pywebview minimalmodbus pyserial +# +# [참고] +# - SDK/jkrc.pyd 는 Stable ABI(python3.dll)라 파이썬 3.x 버전을 크게 안 탐. +# 단, pywebview(pythonnet)가 최신 파이썬을 아직 지원 안 하면 +# Python 3.12 등에서: py -3.12 -m pip install ... / py -3.12 -m PyInstaller app.spec +# - 기존 운영 exe는 Python 3.8로 빌드된 것이었음 (2024년 빌드) +# ═════════════════════════════════════════════════════════════════ a = Analysis( @@ -21,7 +37,7 @@ exe = EXE( a.scripts, [], exclude_binaries=True, - name='app', + name='팔레타이징', # exe 파일명 (기존에는 name='app'으로 빌드 후 수동으로 이름 변경했었음) debug=False, bootloader_ignore_signals=False, strip=False,