Use SPDX license identifier#5643
Conversation
|
Working on adding support in flit now. Marking it as draft until then. |
|
I moved to |
Yeah, that's the current spelling in the docs. I'd just argue that it's probably outdated. There is an open issue to rework that section of the packaging docs. pypa/packaging.python.org#1245
Just from a metadata perspective, it's fully valid. At least setuptools, poetry, and hatch support it.
While working on a PR for flit, I noticed that all |
|
I'm going to close this for now. Once Flit supports |
Sound good! I've been working on adding the support for it in |
PEP 639 recommends the use of SPDX license identifiers.
At the moment the
licensekey is ignored byflit, see pypa/flit#525. However, it's still possible to replace it now. Once the support in flit is added, the value will be used automatically.At some point, the table will need be be changed to just a string for full PEP 639 compliance. That requires support for it first though. The change is also pretty simple.