From 78902babf69fe4e1dc3193af2cd7df14a1248fc7 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 06:37:12 +0000 Subject: [PATCH 1/2] 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index feafadc..0182ffe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=42", "wheel"] +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,8 @@ description = "CrystalFormer is a transformer-based autoregressive model specifi authors = [ { name = "iopcompphys", email = "wanglei@iphy.ac.cn" } ] -license = { file = "LICENSE" } +license = "Apache-2.0" +license-files = ["LICENSE"] readme = "README.md" keywords = ["de novo generation", "crystal structure prediction", "transformer", "reinforcement learning"] requires-python = ">=3.10" From 67181f7ace73258e3f4b58e4f71080d4629e3f8a 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 07:26:26 +0000 Subject: [PATCH 2/2] build(pyproject): drop deprecated license classifier Setuptools rejects legacy License :: classifiers when a PEP 639 license expression is present. Remove the classifier and keep the SPDX license metadata. Authored by OpenClaw (model: gpt-5.4) --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0182ffe..05d6396 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,6 @@ keywords = ["de novo generation", "crystal structure prediction", "transformer", requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", - "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux" ] dependencies = [