Tarek Ziadé <ziade.ta...@gmail.com> added the comment:

Right, it's not handy for the emails.

PyPI will display the author field, followed by the author_email field.
So everyone will be displayed but not properly.

But no tool is handling the Author and Author-email fields as
multi-value fields.

Maybe we could extend the Metadata by adding a multi-valued
"Contributor" field, that would be composed of a name, and email and a role.

In the Metadata file, things would look like this:

{{{
Contributor: Tarek,ta...@ziade.org,author
Contributor: anatoly techtonik,s...@mail.org,maintainer
Contributor: John Doe,s...@mail.org
}}}

Where the third field is optional (default: "contributor"). 
and can be set to "author", "maintainer" or "contributor".

On setup.py this would be a 'contributors' list:

{{{
  setup(
     contributors=[
       ['Tarek', 'ta...@ziade.org', 'author'],
       ['anatoly techtonik', 's...@mail.org', 'maintainer'],
       ['John Doe', 's...@mail.org'],
     ]
   )
}}}

Then, 'author' and 'maintainer' would be deprecated, but still filled
by Distutils by choosing some entries out of the contributors list.

this would be added in 2.7, 3.2 and PyPI would have to change accordingly.

----------
resolution: rejected -> 
title: multiple authors in setup.by -> Adding a Contributor field in PEP 314
type:  -> feature request
versions: +Python 2.7, Python 3.2

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

Reply via email to