From dd3bcdd81085357b7ce9212291ed1a5af8e0b8f7 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:53 +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 36c4575e3..fc1c196d0 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,12 +10,12 @@ 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.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", ] dependencies = [ 'numpy>=1.14.3',