Skip to content

Right way to publish authors on PyPi from setuptools #3800

Answered by abravalheri
luclaurent asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @luclaurent, if you unzip the generated wheel, and have a look on the *.dist-info/METADATA file, how does the Author-email field show up?

If all the authors are listed there correctly1, it might be worth contacting PyPI teams to understand which is the logic they use to display authors...


I am not sure if this will work, but I think you could try something like:

authors = [{name = "X Y <[email protected]>, Z H <[email protected]>"}]

Footnotes

  1. Please note that setuptools follows the PEP 621 specification, which requires {name = ..., email = ...} to be transformed in core metadata's author-email field. PyPI uses this Core Metadata to populate its UI according to their own custom logic. You can chan…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@webknjaz
Comment options

@luclaurent
Comment options

@webknjaz
Comment options

Answer selected by luclaurent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants