Files
opm-simulators/python/pyproject.toml
T
Håkon Hægland ac490531f1 python/docker: finalize pyproject build-system and SPDX license
- Bump setuptools floor to >=61 in pyproject.toml with rationale comments.
- Declare build-backend explicitly; keep classic scikit-build.
- Switch setup.py license to SPDX expression (GPL-3.0-or-later) and remove
  deprecated license classifier, keeping only non-license classifiers.
2025-09-12 16:06:51 +02:00

19 lines
752 B
TOML

[build-system]
# 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.
requires= [
"setuptools>=61",
"scikit-build>=0.13",
"cmake>=3.15",
"ninja"
]
# Used by `python -m build` (PEP 517).
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.