Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (51 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (51 loc) · 1.46 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
[project]
name = "renderpoc"
version = "0.1.0"
description = "Banc d'essai de reconstruction 3D d'objet : video -> keyframes -> backends -> mesh + metriques"
readme = "README.md"
requires-python = ">=3.11,<3.13"
# NOTE: aucune dependance GPU ici. L'env racine DOIT s'installer et passer les
# tests sur une machine sans CUDA (cf. docs/backend-contract.md).
dependencies = [
"typer>=0.15",
"pydantic>=2.9",
"numpy>=1.26,<3",
"opencv-python>=4.10",
"open3d>=0.18",
"trimesh>=4.5",
# Requis par trimesh pour l'analyse de composantes connexes (`mesh.split`), qui
# alimente la metrique `n_components`. Optionnel cote trimesh, obligatoire ici.
"networkx>=3.3",
"scipy>=1.14",
"rich>=13.9",
]
[project.optional-dependencies]
gui = [
"PyQt6>=6.7",
"pyqtgraph>=0.13.7",
"PyOpenGL>=3.1.7",
]
[project.scripts]
renderpoc = "renderpoc.cli:app"
[dependency-groups]
dev = [
"pytest>=8.3",
"ruff>=0.8",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/renderpoc"]
[tool.ruff]
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.per-file-ignores]
# typer declare ses options via des appels dans les valeurs par defaut : c'est l'idiome
# de la bibliotheque, pas le piege de mutable-default que B008 vise.
"src/renderpoc/cli.py" = ["B008"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"