Author jugmac00
Recipients dstufft, eric.araujo, jugmac00
Date 2019-11-26.09:41:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574761271.03.0.166396347338.issue38914@roundup.psfhosted.org>
In-reply-to
Content
When creating a package for PyPi, and naming an author, but not an author_email, you get a warning as follows:

warning: Check: missing meta-data: if 'author' supplied, 'author_email' must be supplied too

The specs ( https://packaging.python.org/specifications/core-metadata/#author ) do not enforce this behavior, so I'd like to change the wording from `must` to `should`.

This can be reproduced by creating a setup.py, providing `author`, but not `author_email`, and then calling `python setup.py check` or `python -m pep517.build .`.

This issue was discussed at:
https://discuss.python.org/t/which-fields-are-required-for-a-setup-py-especially-is-author-required/2705
and
https://github.com/pypa/pep517/issues/73

Background:
I ported a 16 year old package to Python 3, and tried to upload it to PyPi. I know the author name, but not his email address. Also, I think he does not like to get bothered with emails for a project he abandoned 16 years ago.

P.S.: I am working on a PR for this and update this issue accordingly.
History
Date User Action Args
2019-11-26 09:41:11jugmac00setrecipients: + jugmac00, eric.araujo, dstufft
2019-11-26 09:41:11jugmac00setmessageid: <1574761271.03.0.166396347338.issue38914@roundup.psfhosted.org>
2019-11-26 09:41:10jugmac00linkissue38914 messages
2019-11-26 09:41:10jugmac00create