From 9a83fb7bd08b945c9f888f33b610e63b684a776b Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 6 Mar 2025 15:04:35 -0500 Subject: [PATCH] chore: use PEP 639 licenses (METADATA 2.4) Signed-off-by: Henry Schreiner --- .readthedocs.yml | 1 + pyproject.toml | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 16dfeaff..3d1907e3 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -13,6 +13,7 @@ build: - asdf plugin add uv - asdf install uv latest - asdf global uv latest + - touch extern/histogram/LICENSE - uv run --only-group docs sphinx-build -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html submodules: diff --git a/pyproject.toml b/pyproject.toml index 7921a509..39d31c99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,12 +16,15 @@ keywords = [ "boost-histogram", "histogram", ] +license = "BSD-3-Clause AND BSL-1.0" +license-files = [ + "LICENSE", "extern/*/LICENSE" +] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", - "License :: OSI Approved :: BSD License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", @@ -96,7 +99,6 @@ test = [ [tool.scikit-build] minimum-version = "build-system.requires" -cmake.version = "CMakeLists.txt" metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" sdist.exclude = [ "extern/**/*.py",