Thanks all, I just made a release with these changes:
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,7 +2,7 @@
build-backend = "hatchling.build"
requires = [
"hatch-vcs",
- "hatchling",
+ "hatchling>=1.27",
]
[project]
...
license = "BSD-3-Clause"
+license-files = [ "LICENSE" ]
...
classifiers = [
- "License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
And it shows up on PyPI with:
- License Expression: BSD-3-Clause
SPDX License Expression
This depended on (at least) these updates:
- packaging 24.2
- Hatchling 1.27
- Twine 6.1.0
- PyPI publish GitHub Action v1.12.4
- build-and-inspect-python-package v2.12.0
Thanks to everyone for making it happen, and especially @ksurma for all the PEP+spec work!