Right way to publish authors on PyPi from setuptools #3800
-
|
I currently use Everything works and I can publish it on PyPi but only the first author is published. How can I display both authors? I have tried to use the following syntax But I have the following error Notice that I specify: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @luclaurent, if you unzip the generated wheel, and have a look on the 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
|
Beta Was this translation helpful? Give feedback.
Hi @luclaurent, if you unzip the generated wheel, and have a look on the
*.dist-info/METADATAfile, how does theAuthor-emailfield 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:
Footnotes
Please note that
setuptoolsfollows 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…