import sys from cx_Freeze import setup, Executable # Add options for build_exe build_exe_options = { "packages": ["os", "pandas", "xlwings", "openpyxl", "configparser", "PyQt5"], "include_files": [ ("퍼센티양식.xlsx", "퍼센티양식.xlsx"), ("config.ini", "config.ini"), ], } # GUI applications require a different base on Windows (the default is for a console application). base = None if sys.platform == "win32": base = "Win32GUI" setup( name="taomanXLS", version="1.3", description="Taoman_to_PercentyXLS", options={"build_exe": build_exe_options}, executables=[Executable("taomanXLS.py", base=base, icon="taomanXLS.ico")] )