pyvenv.cfg 파일의 경로를 수정하여 Python 실행 파일과 가상 환경 생성 명령을 업데이트했습니다.
This commit is contained in:
parent
c9516f21d1
commit
10a764409e
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
home = D:\Python311
|
||||
home = d:\python311
|
||||
include-system-site-packages = false
|
||||
version = 3.11.9
|
||||
executable = D:\Python311\python.exe
|
||||
command = D:\Python311\python.exe -m venv D:\py\iop
|
||||
executable = D:\py\AutoPercenty3_311\Scripts\python.exe
|
||||
command = D:\py\AutoPercenty3_311\Scripts\python.exe -m venv D:\py\IOPaint
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
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")]
|
||||
)
|
||||
Loading…
Reference in New Issue