]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38914 Do not require email field in setup.py. (GH-17388)
authorJürgen Gmach <juergen.gmach@googlemail.com>
Mon, 23 Dec 2019 14:53:18 +0000 (15:53 +0100)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Dec 2019 14:53:18 +0000 (06:53 -0800)
commit9f9dac0a4e58d5c72aa3b644701cb155c009cb2c
treefe5cc25f65d9f9cc27a59566ae27e03823dba07f
parente7b406f4e20e248d24079f97d7c8b93e5a45249e
bpo-38914 Do not require email field in setup.py. (GH-17388)

When checking `setup.py` and when the `author` field was provided, but
the `author_email` field was missing, erroneously a warning message was
displayed that the `author_email` field is required.

The specs do not require the `author_email`field:
https://packaging.python.org/specifications/core-metadata/#author

The same is valid for `maintainer` and `maintainer_email`.

The warning message has been adjusted.

modified:   Doc/distutils/examples.rst
modified:   Lib/distutils/command/check.py

https://bugs.python.org/issue38914
Doc/distutils/examples.rst
Lib/distutils/command/check.py
Misc/NEWS.d/next/Library/2019-11-26-23-21-56.bpo-38914.8l-g-T.rst [new file with mode: 0644]