You've already forked pruchase_jhw
42 lines
1.2 KiB
TOML
42 lines
1.2 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 = [
|
|
# playwright 由 surugaya-common 的 [browser] extra 提供(>=1.54.0,<2.0.0),不再直接声明。
|
|
"surugaya-common[browser]>=0.2.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" }
|