This commit is contained in:
Zengtudor 2025-03-02 14:22:01 +08:00
parent 94146dacbb
commit 92498c449d
2 changed files with 12 additions and 1 deletions

View File

@ -5,7 +5,7 @@ description = "Default template for PDM package"
authors = [ authors = [
{name = "Zengtudor", email = "Zengtudor@outlook.com"}, {name = "Zengtudor", email = "Zengtudor@outlook.com"},
] ]
dependencies = ["opencv-python>=4.11.0.86", "mediapipe>=0.10.21", "numpy>=1.26.4", "pygame>=2.6.1", "Pillow>=11.1.0"] dependencies = ["opencv-python>=4.11.0.86", "mediapipe>=0.10.21", "numpy>=1.26.4", "pygame>=2.6.1", "Pillow>=11.1.0", "cx-Freeze>=7.2.10"]
requires-python = "==3.12.*" requires-python = "==3.12.*"
readme = "README.md" readme = "README.md"
license = {text = "MIT"} license = {text = "MIT"}

11
setup.py Normal file
View File

@ -0,0 +1,11 @@
from cx_Freeze import setup, Executable
# 添加你的脚本名称和其他配置
executables = [Executable("main.py"),Executable("show_avatar.py")]
setup(
name="HeadBallGame",
version="0.1",
description="HeadBallGame from Zengtudor",
executables=executables
)