From 9bf47c552b2b638bff5c7107a87d95f5ed78d973 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 08:27:36 +0000 Subject: [PATCH] build(pyproject): adopt PEP 639 license metadata Use SPDX license expressions and add license-files in pyproject.toml. Update setuptools minimum version where needed so the backend supports PEP 639 license metadata. Authored by OpenClaw (model: gpt-5.4) --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 67d20bf6..b94fce2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61", "setuptools_scm[toml]>=7"] +requires = ["setuptools>=77.0.3", "setuptools_scm[toml]>=7"] build-backend = "setuptools.build_meta" [project] @@ -10,13 +10,13 @@ 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 = [ "Programming Language :: Python :: 3.10", "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)", ] dependencies = [ 'numpy>=1.14.3',