Files
yolo/pyproject.toml

39 lines
913 B
TOML

[project]
name = "yolo"
version = "0.1.0"
description = "Fire detection training, evaluation, inference, and dataset utilities based on Ultralytics YOLO"
readme = "README.md"
authors = [
{ name = "Kunpeng", email = "mx18782708114@163.com" }
]
requires-python = ">=3.14"
dependencies = [
"matplotlib>=3.11.1",
"numpy>=2.5.1",
"opencv-python>=5.0.0.93",
"pandas>=3.0.5",
"torch>=2.13.0",
"torchvision>=0.28.0",
"ultralytics>=8.3.0",
"fastapi>=0.115.0",
"python-multipart>=0.0.9",
"python-dotenv>=1.0.0",
"uvicorn[standard]>=0.30.0",
]
[tool.uv.sources]
torch = { index = "pytorch-cu132" }
torchvision = { index = "pytorch-cu132" }
[[tool.uv.index]]
name = "pytorch-cu132"
url = "https://download.pytorch.org/whl/cu132"
explicit = true
[project.scripts]
fire-yolo = "yolo.cli:main"
[build-system]
requires = ["uv_build>=0.12.0,<0.13.0"]
build-backend = "uv_build"