[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", ] [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"]