forked from mergeos-bounties/PoseGuide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (57 loc) · 1.44 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (57 loc) · 1.44 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "poseguide"
version = "0.2.57"
description = "Pose guidance training: recommend photography poses for backgrounds and standing shots"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "MergeOS / ThanhTrucSolutions" }]
keywords = ["pose", "photography", "guidance", "mediapipe", "ml", "standing-pose"]
dependencies = [
"typer>=0.12",
"rich>=13.7",
"pydantic>=2.6",
"numpy>=1.26",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
# Pin major.minor so format rules stay stable across CI/local (ruff>=0.4 floats to latest).
"ruff>=0.15.7,<0.16",
]
torch = [
"torch>=2.2",
]
vision = [
"opencv-python-headless>=4.9",
"mediapipe>=0.10",
"Pillow>=10.0",
]
api = [
"fastapi>=0.110",
"uvicorn>=0.27",
]
[project.scripts]
poseguide = "poseguide.cli:app"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.ruff]
line-length = 100
target-version = "py311"
# Default lint rules only (E4/E7/E9/F). Do not expand without formatting the tree first.
# Pin ruff in [project.optional-dependencies] so CI and local share the same formatter.
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.coverage.run]
source = ["src"]
branch = false
[tool.coverage.report]
fail_under = 30