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,
def initialize_options(self):
self.repository = None
- self.verify = 0
self.show_response = 0
self.list_classifiers = 0
def run(self):
self.check_metadata()
- if self.verify:
+ if self.dry_run:
self.verify_metadata()
elif self.list_classifiers:
self.classifiers()