New submission from Andrew Pinkham:

The new warehouse uses the author_email field to create a mailto link. Donald 
Stufft recommended leaving out the author_email field while still specifying 
the author field should a maintainer wish to have their name associated without 
their email.

Conversation with Donald:
https://github.com/pypa/warehouse/issues/2155

Unfortunately, specifying author but not author_email causes the `setup.py 
check` command to throw an error. "check: missing meta-data: if 'author' 
supplied, 'author_email' must be supplied too"

I would like to remove that check from being performed given the recommended 
fix for warehouse. The logic that performs this check is currently in the 
distutils check command.

https://github.com/python/cpython/blob/master/Lib/distutils/command/check.py

Additionally, AFAICT, it is impossible to disable the metadata check in 
distutils. I would also like to add a negative option to allow the metadata 
check to be skipped.

----------
components: Distutils
messages: 299436
nosy: dstufft, jambonrose, merwok
priority: normal
severity: normal
status: open
title: Change metadata handling in check command
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31073>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to