彻底优化项目结构,使用 web

This commit is contained in:
yml2213
2026-06-22 13:39:03 +08:00
parent 347edb8103
commit 63c1ffa046
46 changed files with 127 additions and 3077 deletions
+3 -7
View File
@@ -1,7 +1,7 @@
[project]
name = "douyu-login-py"
version = "0.1.0"
description = "斗鱼自动登录工具 - Python版"
version = "0.2.0"
description = "斗鱼批量登录 Web 后台"
readme = "README.md"
requires-python = ">=3.12,<3.13"
dependencies = [
@@ -10,7 +10,6 @@ dependencies = [
"numpy>=1.24.0",
"opencv-python-headless>=4.8.0",
"Pillow>=10.0.0",
"PyYAML>=6.0",
"loguru>=0.7.0",
"fastapi>=0.110.0",
"uvicorn[standard]>=0.27.0",
@@ -21,12 +20,9 @@ dependencies = [
"python-multipart>=0.0.9",
]
[project.scripts]
douyu-login = "main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["douyu", "geetest", "utils", "gui", "web"]
packages = ["core", "utils", "web"]