[Python-checkins] distutils2: Minor style and wording fixes
tarek.ziade
python-checkins at python.org
Sun Aug 8 11:50:45 CEST 2010
tarek.ziade pushed 8152fcbe4279 to distutils2:
http://hg.python.org/distutils2/rev/8152fcbe4279
changeset: 413:8152fcbe4279
user: ?ric Araujo <merwok at netwok.org>
date: Sat Jul 31 15:26:55 2010 +0200
summary: Minor style and wording fixes
files: src/distutils2/command/register.py, src/distutils2/command/upload.py, src/distutils2/command/upload_docs.py
diff --git a/src/distutils2/command/register.py b/src/distutils2/command/register.py
--- a/src/distutils2/command/register.py
+++ b/src/distutils2/command/register.py
@@ -21,15 +21,16 @@
class register(Command):
- description = ("register the distribution with the Python package index")
- user_options = [('repository=', 'r',
- "url of repository [default: %s]" % DEFAULT_REPOSITORY),
+ description = "register the distribution with the Python package index"
+ user_options = [
+ ('repository=', 'r',
+ "repository URL [default: %s]" % DEFAULT_REPOSITORY),
('show-response', None,
- 'display full response text from server'),
+ "display full response text from server"),
('list-classifiers', None,
- 'list the valid Trove classifiers'),
+ "list valid Trove classifiers"),
('strict', None ,
- 'Will stop the registering if the metadata is not fully compliant')
+ "stop the registration if the metadata is not fully compliant")
]
boolean_options = ['show-response', 'verify', 'list-classifiers',
diff --git a/src/distutils2/command/upload.py b/src/distutils2/command/upload.py
--- a/src/distutils2/command/upload.py
+++ b/src/distutils2/command/upload.py
@@ -24,16 +24,17 @@
class upload(Command):
- description = "upload binary package to PyPI"
+ description = "upload distribution to PyPI"
- user_options = [('repository=', 'r',
- "url of repository [default: %s]" % \
- DEFAULT_REPOSITORY),
+ user_options = [
+ ('repository=', 'r',
+ "repository URL [default: %s]" % DEFAULT_REPOSITORY),
('show-response', None,
- 'display full response text from server'),
+ "display full response text from server"),
('sign', 's',
- 'sign files to upload using gpg'),
- ('identity=', 'i', 'GPG identity used to sign files'),
+ "sign files to upload using gpg"),
+ ('identity=', 'i',
+ "GPG identity used to sign files"),
]
boolean_options = ['show-response', 'sign']
diff --git a/src/distutils2/command/upload_docs.py b/src/distutils2/command/upload_docs.py
--- a/src/distutils2/command/upload_docs.py
+++ b/src/distutils2/command/upload_docs.py
@@ -52,9 +52,12 @@
class upload_docs(Command):
user_options = [
- ('repository=', 'r', "url of repository [default: %s]" % DEFAULT_REPOSITORY),
- ('show-response', None, 'display full response text from server'),
- ('upload-dir=', None, 'directory to upload'),
+ ('repository=', 'r',
+ "repository URL [default: %s]" % DEFAULT_REPOSITORY),
+ ('show-response', None,
+ "display full response text from server"),
+ ('upload-dir=', None,
+ "directory to upload"),
]
def initialize_options(self):
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list