Hm... PEP 621 deliberately doesn't have a replacement for `setuptools`'s `license`, but they do have a `license` key that is equivalent to `license_files`. Unfortunately, this is what PyPI does with the data in that field:

Not great.

Follow

@hynek FYI, `structlog` seems to be affected by this.

@pganssle yeah in single-license projects I’ve replaced it but in the dual-license one the text is short enough that I can live with it until the relevant PEP is finalized. Hatch already supports it but then VS Code is whiny about license not being a dict.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.