-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (35 loc) · 1.01 KB
/
pyproject.toml
File metadata and controls
40 lines (35 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[project]
name = "samnotator"
version = "0.1.0"
description = "Qt application for creating annotations with SAM"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"accelerate>=1.12.0",
"coloraide>=5.1",
"numpy>=2.3.4",
"opencv-python-headless>=4.11.0.86",
"pydantic>=2.12.2",
"pyside6>=6.10.0",
"requests>=2.32.5",
"torch>=2.9.1",
"torchvision>=0.24.1",
"transformers",
]
[project.scripts]
samnotator = "samnotator:main"
[build-system]
requires = ["uv_build>=0.8.17,<0.9.0"]
build-backend = "uv_build"
[tool.uv.sources]
torch = [ { index = "pytorch-cu128", marker = "sys_platform == 'linux' or sys_platform == 'win32'" }, ]
torchvision = [ { index = "pytorch-cu128", marker = "sys_platform == 'linux' or sys_platform == 'win32'" }, ]
transformers = { git = "https://github.com/huggingface/transformers" }
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[dependency-groups]
dev = [
"huggingface-hub>=0.36.0",
]