28 lines
696 B
Python
28 lines
696 B
Python
# setup_updater_cxfreeze.py
|
|
from cx_Freeze import setup, Executable
|
|
|
|
build_options = {
|
|
"packages": [], # 외부 패키지 없음
|
|
"excludes": ["tkinter", "PySide6", "PyQt5", "numpy", "PIL"],
|
|
"include_files": [],
|
|
"optimize": 2, # -OO 수준 최적화
|
|
"zip_include_packages": [], # 기본만
|
|
"zip_exclude_packages": [],
|
|
}
|
|
|
|
# 콘솔창 없이 실행하려면 base="Win32GUI"
|
|
exe = Executable(
|
|
script="updater.py",
|
|
base="Win32GUI",
|
|
target_name="updater.exe",
|
|
icon=None,
|
|
)
|
|
|
|
setup(
|
|
name="Edit_PartTimer_Updater",
|
|
version="1.2.1",
|
|
description="Edit_PartTimer Updater",
|
|
options={"build_exe": build_options},
|
|
executables=[exe],
|
|
)
|