21 lines
601 B
TOML
21 lines
601 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "surugaya-common"
|
|
version = "0.1.0"
|
|
description = "Shared contracts (Redis keys, future models) for jp_surugaya services"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"pydantic>=2.0.0,<3.0.0",
|
|
"redis==8.0.0",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/surugaya_common"]
|
|
|
|
# Keep surugaya_common light: stdlib + pydantic + redis only. redis is pinned to
|
|
# ==8.0.0 to stay in lockstep with both the API service and the worker. Do not add
|
|
# fastapi/playwright/opencv/numpy/pyautogui/pillow here.
|