[metadata
] Extend pyproject.toml metadata
#2943
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
Pull Request overview
Details
This correctly puts @nreimers back as one of the Authors on pypi.org. This wasn't shown for the 3.1.0 release.
For some reason, if the
pyproject.toml
containsThen this'll compile to:
which pypi.org for some reason parses as 1 Author (Tom Aarsen) with 1 email (info@nils-reimers.de). If I add my own email, then it becomes:
and no
Author:
. This will still get parsed as just one Author by pypi.org... Except then it does link the correct email. I've also added myself as a maintainer, so we'll get:You can see what this becomes below. I'd rather just have 2 authors listed, but I can't seem to get that to work: the core metadata seems to only allow one author and one maintainer: https://packaging.python.org/en/latest/specifications/core-metadata/#author
Before
After