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

Antoine Pitrou solipsis at pitrou.net
Tue Aug 30 17:20:16 CEST 2011


On Tue, 30 Aug 2011 16:22:14 +0200 eric.araujo <python-checkins at python.org> wrote:

http://hg.python.org/cpython/rev/af0bcccb935b changeset: 72127:af0bcccb935b user: Éric Araujo <merwok at 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.



More information about the Python-Dev mailing list