34 lines
692 B
TOML
34 lines
692 B
TOML
[project]
|
|
name = "yolo"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
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",
|
|
]
|
|
|
|
[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]
|
|
yolo = "yolo:main"
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.12.0,<0.13.0"]
|
|
build-backend = "uv_build"
|