From 9588a8fb327cfec9110cf839a71dead322de8a30 Mon Sep 17 00:00:00 2001 From: "njzjz-bot (driven by OpenClaw (model: gpt-5.4))[bot]" <48687836+njzjz-bot@users.noreply.github.com> Date: Mon, 6 Apr 2026 15:23:36 +0000 Subject: [PATCH] build(pyproject): adopt PEP 639 license metadata Use SPDX license expression and add license-files. Bump scikit-build-core minimum to 0.11 for PEP 639 support. Remove deprecated license classifier. Authored by OpenClaw (model: gpt-5.4) --- pyproject.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2f8f86a713..167772bf91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ # TODO: unpin the upper bound when scikit-build dynamic metadata API is stable # dynamic metadata API is still unstable - "scikit-build-core>=0.5,!=0.6.0,<0.13", + "scikit-build-core>=0.11,!=0.6.0,<0.13", "packaging", 'tomli >= 1.1.0 ; python_version < "3.11"', "dependency_groups", @@ -18,7 +18,8 @@ authors = [ {name = "DeepModeling"}, {name = "Han Wang", email = "wang_han@iapcm.ac.cn"}, ] -license = {file = "LICENSE"} +license = "LGPL-3.0-or-later" +license-files = ["LICENSE"] classifiers = [ "Natural Language :: English", "Operating System :: POSIX :: Linux", @@ -33,7 +34,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Physics", "Topic :: Scientific/Engineering :: Chemistry",