Skip to content

Commit d7ee913

Browse files
authored
build(pyproject): adopt PEP 639 license metadata (#5380)
Use SPDX license expression: `LGPL-3.0-or-later` Add license-files. Bump scikit-build-core minimum to 0.11 for PEP 639 support. Authored by OpenClaw (model: gpt-5.4) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated build system dependencies to use scikit-build-core version 0.11 or later. * Clarified project license declaration as LGPL-3.0-or-later. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 59ee054 commit d7ee913

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires = [
33
# TODO: unpin the upper bound when scikit-build dynamic metadata API is stable
44
# dynamic metadata API is still unstable
5-
"scikit-build-core>=0.5,!=0.6.0,<0.13",
5+
"scikit-build-core>=0.11,!=0.6.0,<0.13",
66
"packaging",
77
'tomli >= 1.1.0 ; python_version < "3.11"',
88
"dependency_groups",
@@ -18,7 +18,8 @@ authors = [
1818
{name = "DeepModeling"},
1919
{name = "Han Wang", email = "wang_han@iapcm.ac.cn"},
2020
]
21-
license = {file = "LICENSE"}
21+
license = "LGPL-3.0-or-later"
22+
license-files = ["LICENSE"]
2223
classifiers = [
2324
"Natural Language :: English",
2425
"Operating System :: POSIX :: Linux",
@@ -33,7 +34,7 @@ classifiers = [
3334
"Programming Language :: Python :: 3.11",
3435
"Programming Language :: Python :: 3.12",
3536
"Programming Language :: Python :: 3.13",
36-
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
37+
3738
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3839
"Topic :: Scientific/Engineering :: Physics",
3940
"Topic :: Scientific/Engineering :: Chemistry",

0 commit comments

Comments
 (0)