add pyproject

This commit is contained in:
huchenlei
2024-01-22 12:56:44 -05:00
parent a61bb5af0e
commit 2449442a9e

23
pyproject.toml Normal file
View File

@@ -0,0 +1,23 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "depth_anything"
readme = "README.md"
version = "2024.01.22.0"
dependencies = [
"torch",
"torchvision",
"opencv-python",
]
[project.urls]
Documentation = "https://github.com/LiheYoung/Depth-Anything"
Issues = "https://github.com/LiheYoung/Depth-Anything/issues"
Source = "https://github.com/LiheYoung/Depth-Anything"
[tool.hatch.build.targets.wheel]
packages = [
"depth_anything",
]