Files
orisys-sensor-design/pyproject.toml
T
2026-09-20 13:46:58 +08:00

37 lines
916 B
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "orisys-sensor-design"
version = "0.1.0"
description = "Nominal Orisys sensor geometry design and export tooling"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"PyYAML>=6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
]
# The export preview only. numpy stays optional because the host CLI is
# otherwise stdlib + PyYAML; PyOpenGL matches the backend Studio uses.
preview = [
"numpy>=1.24",
"PyQt5>=5.15",
"PyOpenGL>=3.1",
]
[project.scripts]
orisys-design = "orisys_sensor_design.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
# blender/scripts holds the stdlib-only patch-geometry helpers and their unit
# tests; those tests do not import bpy, so they run in the normal suite.
testpaths = ["tests", "blender/scripts"]