Re: [Python-Dev] cpython: Remove display options (--name, etc.) from the Distribution class.
On Tue, 30 Aug 2011 16:22:14 +0200
eric.araujo
http://hg.python.org/cpython/rev/af0bcccb935b changeset: 72127:af0bcccb935b user: Éric Araujo
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.
participants (2)
-
Antoine Pitrou
-
Éric Araujo