You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PKG-INFO file should differentiate between authors and maintainers #47936
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/tarekziade'closed_at=<Date2010-05-16.12:39:35.700>created_at=<Date2008-08-26.08:32:32.689>labels= ['type-feature']
title='PKG-INFO file should differentiate between authors and maintainers'updated_at=<Date2010-05-16.12:39:35.698>user='https://github.com/malemburg'
The PKG-INFO file currently only provides an "Authors" field which is
mapped to the DistributionMetadata.get_contact() information.
However, the latter method is really meant to provide access to contact
information and not authorship, which is why it prefers the maintainer
infos over the actual author infos.
As a result, the maintainer can appear as author in the PKG-INFO file,
which is wrong.
Ideal would be to have both an "Author" and "Maintainer" field in the
PKG-FILE with 1-1 mappings to the setup() parameters.
Activity
malemburg commentedon Aug 26, 2008
The PKG-INFO file currently only provides an "Authors" field which is
mapped to the DistributionMetadata.get_contact() information.
However, the latter method is really meant to provide access to contact
information and not authorship, which is why it prefers the maintainer
infos over the actual author infos.
As a result, the maintainer can appear as author in the PKG-INFO file,
which is wrong.
Ideal would be to have both an "Author" and "Maintainer" field in the
PKG-FILE with 1-1 mappings to the setup() parameters.
akitada commentedon Feb 8, 2009
Maintainer field is not specified in PEP-241, PEP-314 and even PEP-345.
Can we add this field to PEP-345?
tarekziade commentedon Feb 8, 2009
The point is, the current implementation of Distutils will take the
maintainer *or* the author for the Author field.
So this relates to bpo-962772 : do we want to keep maintainer and
maintainer_email at all ?
I'll push a mail in Distutils-SIG about this.
tarekziade commentedon May 16, 2010
This is now defined in PEP-345 and implemented in Distutils2.