Skip to content

Commit 3670fee

Browse files
committed
packaging: use an SPDX license expression instead of classifiers
Replace the "License :: OSI Approved" classifiers with a PEP 639 SPDX license expression. The project is Apache-2.0 overall, but two files (nix_expression.py, yocto_recipe.py) carry their own standalone MIT headers, so the correct expression is "Apache-2.0 AND MIT" (not "OR" -- it's not a licensee's choice, different files are under different licenses). Bumps the setuptools build requirement to >=77, which is what added SPDX license-expression support. Assisted-by: Claude:claude-opus-5 AI-Generated: Uses Claude (claude-opus-5) Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
1 parent b874cdf commit 3670fee

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
[build-system]
2-
requires = ["setuptools>=64", "setuptools-scm>=8"]
2+
requires = ["setuptools>=77", "setuptools-scm>=8"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "superflore"
77
description = "Super Bloom"
88
readme = "README.md"
9-
license = { text = "Apache 2.0" }
9+
license = "Apache-2.0 AND MIT"
1010
authors = [
1111
{ name = "Hunter L. Allen", email = "hunterlallen@protonmail.com" },
1212
]
1313
keywords = ["ROS"]
1414
classifiers = [
1515
"Programming Language :: Python",
16-
"License :: OSI Approved :: Apache Software License",
17-
"License :: OSI Approved :: MIT License",
1816
]
1917
requires-python = ">=3"
2018
dynamic = ["version"]

0 commit comments

Comments
 (0)