-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.16 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (43 loc) · 1.16 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
41
42
43
44
45
46
47
48
49
50
[build-system]
requires = ["setuptools>=69"]
build-backend = "setuptools.build_meta"
[project]
name = "visioncart"
version = "0.1.0"
description = "Computer-vision-assisted autonomous checkout prototype"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"numpy>=1.24,<2",
"Pillow>=10",
"PyYAML>=6",
"python-dotenv>=1.0",
]
[project.optional-dependencies]
app = ["opencv-python>=4.8,<5", "ultralytics>=8.2"]
web = ["fastapi>=0.115", "uvicorn>=0.30", "python-multipart>=0.0.9"]
ml = [
"torch>=2.1,<2.10",
"torchvision>=0.16,<0.25",
"scikit-learn>=1.3",
"matplotlib>=3.8",
"tqdm>=4.66",
"ultralytics>=8.2",
]
google = ["gspread>=6", "google-auth>=2.28"]
voice = ["gTTS>=2.5"]
dev = ["pytest>=8", "ruff>=0.6", "httpx>=0.27", "torch>=2.1,<2.10"]
[project.scripts]
visioncart = "visioncart.app:main"
visioncart-web = "visioncart.web:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py310"
exclude = ["notebooks", "frontend/node_modules", "frontend/dist", ".playwright-cli"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]