c377c14474
2. added unwarp map export in current cli, don't need to generate by precompute in sensor running
53 lines
1.3 KiB
TOML
53 lines
1.3 KiB
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",
|
|
]
|
|
# The refraction check only needs arrays.
|
|
optics = [
|
|
"numpy>=1.24",
|
|
]
|
|
# The side-by-side comparison figure.
|
|
viz = [
|
|
"numpy>=1.24",
|
|
"matplotlib>=3.7",
|
|
]
|
|
# The probe sensitivity bench (`orisys-design deform|render|track|sensitivity|
|
|
# optimise`). OpenCV is needed only for the DIS optical-flow estimator: the
|
|
# deformation and rendering stages run inside Blender and stay stdlib + numpy.
|
|
probe = [
|
|
"numpy>=1.24",
|
|
"opencv-python>=4.8",
|
|
]
|
|
|
|
[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"]
|