IOPaint/setup.py

19 lines
578 B
Python

from cx_Freeze import setup, Executable
build_exe_options = {
"packages": [
"os", "sys", "fastapi", "gradio", "torch", "diffusers", "transformers", "PIL", "numpy", "cv2",
"iopaint", "typer", "loguru", "pydantic", "starlette", "aiofiles", "httpx", "scipy", "matplotlib"
],
"excludes": [],
"include_files": [],
"include_msvcr": True,
}
setup(
name="IOPaint",
version="1.0",
description="IOPaint Web App",
options={"build_exe": build_exe_options},
executables=[Executable("iop.py", base=None, target_name="IOPaint.exe")]
)