X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..9e58eb5674cfac859568c9a4b1030012e1f0eb64:/wxPython/distutils/command/register.py diff --git a/wxPython/distutils/command/register.py b/wxPython/distutils/command/register.py index 29b76cbfd9..8e347ce6dc 100644 --- a/wxPython/distutils/command/register.py +++ b/wxPython/distutils/command/register.py @@ -15,15 +15,13 @@ from distutils.errors import * class register(Command): - description = "register the distribution with the repository" + description = ("register the distribution with the Python package index") DEFAULT_REPOSITORY = 'http://www.python.org/pypi' user_options = [ ('repository=', 'r', "url of repository [default: %s]"%DEFAULT_REPOSITORY), - ('verify', None, - 'verify the package metadata for correctness'), ('list-classifiers', None, 'list the valid Trove classifiers'), ('show-response', None, @@ -33,7 +31,6 @@ class register(Command): def initialize_options(self): self.repository = None - self.verify = 0 self.show_response = 0 self.list_classifiers = 0 @@ -43,7 +40,7 @@ class register(Command): def run(self): self.check_metadata() - if self.verify: + if self.dry_run: self.verify_metadata() elif self.list_classifiers: self.classifiers()