Re: [Python-Dev] cpython: Remove display options (--name, etc.) from the Distribution class.

2011-08-30 Thread Antoine Pitrou
On Tue, 30 Aug 2011 16:22:14 +0200
eric.araujo python-check...@python.org wrote:

 http://hg.python.org/cpython/rev/af0bcccb935b
 changeset:   72127:af0bcccb935b
 user:Éric Araujo mer...@netwok.org
 date:Tue Aug 30 00:55:02 2011 +0200
 summary:
   Remove display options (--name, etc.) from the Distribution class.
 
 These options were used to implement “setup.py --name”,
 “setup.py --version”, etc. which are now handled by the pysetup metadata
 action or direct parsing of the setup.cfg file.
 
 As a side effect, the Distribution class no longer accepts a 'url' key
 in its *attrs* argument: it has to be 'home-page' to be recognized as a
 valid metadata field and passed down to the dist.metadata object.

I don't want to sound nitpicky, but it's the first time I see
home-page hyphenized. How about homepage?

Regards

Antoine.


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] cpython: Remove display options (--name, etc.) from the Distribution class.

2011-08-30 Thread Éric Araujo
Hi,

Le 30/08/2011 17:20, Antoine Pitrou a écrit :
 On Tue, 30 Aug 2011 16:22:14 +0200
 eric.araujo python-check...@python.org wrote:
 As a side effect, the Distribution class no longer accepts a 'url' key
 in its *attrs* argument: it has to be 'home-page' to be recognized as a
 valid metadata field and passed down to the dist.metadata object.
 
 I don't want to sound nitpicky, but it's the first time I see
 home-page hyphenized. How about homepage?

This value is defined in the accepted Metadata PEPs, which use home-page.

Regards
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com