feat: v4 demo

This commit is contained in:
gaoshuaixing
2024-12-24 14:56:55 +08:00
parent 48f3c86aa2
commit d14241fdf5
181 changed files with 5915 additions and 101 deletions

24
python/setup.py Normal file
View File

@@ -0,0 +1,24 @@
from cx_Freeze import setup, Executable
# 创建可执行文件的配置
executableApp = Executable(
script="main.py",
target_name="pyapp",
)
# 打包的参数配置
options = {
"build_exe": {
"build_exe":"./dist/",
"excludes": ["*.txt"],
"optimize": 2,
}
}
setup(
name="pyapp",
version="1.0",
description="python app",
options=options,
executables=[executableApp]
)