diff --git a/pyproject.toml b/pyproject.toml index ee2f362..ad998a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "Default template for PDM package" authors = [ {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.*" readme = "README.md" license = {text = "MIT"} diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..bded87d --- /dev/null +++ b/setup.py @@ -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 +)