Files
ai_mouse/pyproject.toml
Huang Qi 3f1f8090ec build: drop redundant force-include; add onnxscript to dev deps
Hatchling's  already picks up assets/;
force-include duplicated each asset and emitted a build warning once
real ONNX files landed. onnxscript is a transitive runtime dep of
torch.onnx.export (PyTorch 2.11+) — make it explicit.
2026-05-12 01:00:45 +08:00

38 lines
777 B
TOML

[project]
name = "ai-mouse"
version = "0.2.0"
description = "Human-like mouse trajectory and scroll wheel event generator (ONNX Runtime SDK)."
requires-python = ">=3.12,<3.14"
dependencies = [
"numpy>=1.26.0",
"onnxruntime>=1.17.0",
]
[project.urls]
Repository = "https://github.com/<owner>/ai_mouse"
[dependency-groups]
dev = [
"torch>=2.2.0",
"fastapi>=0.111.0",
"uvicorn>=0.29.0",
"scipy>=1.10.0",
"matplotlib>=3.8.0",
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"httpx>=0.27.0",
"onnx>=1.15.0",
"onnxscript>=0.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/ai_mouse"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]