Files
pruchase_jhw/pyproject.toml
T
2026-06-11 12:34:04 +08:00

44 lines
1.3 KiB
TOML

[project]
name = "jp-purchase-zdh-5"
version = "0.1.0"
description = "A stable and highly-sustainable browser purchase automation service for Japanese e-commerce sites (Surugaya)."
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [
{ name = "Antigravity Development Team" }
]
dependencies = [
# worker 自身已直接依赖 playwright,故 surugaya-common 无需 [browser] extra(extra 仅用于
# 给没有 playwright 的消费者拉取 playwright),保持不带 extra 更简洁。
"surugaya-common>=0.2.0",
"playwright>=1.54.0,<2.0.0",
"pydantic>=2.7.0",
"pydantic-settings>=2.2.0",
"loguru>=0.7.2",
"pyyaml>=6.0.1",
"redis==8.0.0",
"opencv-python>=4.13.0.92",
"numpy>=2.4.6",
"pyautogui>=0.9.54",
"pyscreeze>=1.0.1",
"pillow>=12.2.0",
"httpx>=0.27.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# 👇 在文件里加上这一行,告诉 uv 这只是个普通的脚本项目,不需要打包
[tool.uv]
package = false
# Gitea PyPI registry: 安装(simple index)需 /simple 后缀;上传才用 .../pypi。
[[tool.uv.index]]
name = "jerryyan"
url = "https://git.jerryyan.net/api/packages/jp/pypi/simple"
[tool.uv.sources]
surugaya-common = { index = "jerryyan" }