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
|
[build-system]
requires = ["setuptools>=40.8.0", "wheel", "pybind11-stubgen", "ruff", "numpy"]
build-backend = "setuptools.build_meta"
[project]
name = "poselib"
dynamic = ["version"]
description = "RANSAC + collection of minimal solvers for camera pose estimation."
authors = [
{name = "Viktor Larsson and contributors", email = "viktor.larsson@math.lth.se"}
]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"numpy",
]
[project.optional-dependencies]
test = [
"posebench@git+https://github.com/PoseLib/posebench.git ; python_version < '3.14'",
"pytest>=8.3.5",
]
[tool.cibuildwheel]
test-extras = ["test"]
test-command = "pytest -s -v {project}/tests"
|