2024-08-23 13:03:48 +02:00
|
|
|
[build-system]
|
2025-09-12 16:06:51 +02:00
|
|
|
# NOTE: Setuptools >=61 fully supports pyproject-based builds and is the common
|
|
|
|
|
# floor for projects that may later adopt PEP 621 metadata. Keeping scikit-build
|
|
|
|
|
# classic for now; full migration is tracked in the TODO below.
|
2024-08-23 13:03:48 +02:00
|
|
|
requires= [
|
2025-09-12 16:06:51 +02:00
|
|
|
"setuptools>=61",
|
2024-08-23 13:03:48 +02:00
|
|
|
"scikit-build>=0.13",
|
|
|
|
|
"cmake>=3.15",
|
|
|
|
|
"ninja"
|
|
|
|
|
]
|
2025-09-12 16:06:51 +02:00
|
|
|
# Used by `python -m build` (PEP 517).
|
2025-09-12 15:53:56 +02:00
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
# TODO (modernization): Consider migrating to scikit-build-core and PEP 621.
|
|
|
|
|
# - Move metadata to a [project] table (name, version, description, authors,
|
|
|
|
|
# license-expression), drop setup.py.in, and configure builds under
|
|
|
|
|
# [tool.scikit-build] or [tool.scikit-build-core]. This would further reduce
|
|
|
|
|
# legacy behavior and simplify the build.
|