diff options
| author | ?ric Araujo <merwok@netwok.org> | 2010-08-07 17:52:41 +0200 |
|---|---|---|
| committer | ?ric Araujo <merwok@netwok.org> | 2010-08-07 17:52:41 +0200 |
| commit | d217586639ad94cb0c8b1afabbf57f0d7cf60070 (patch) | |
| tree | 262bc871921918b596b04f5ccea982830a6aea0d /src/distutils2/command | |
| parent | 245863e091e365435a2023a133da0c504cd8e4d1 (diff) | |
| download | disutils2-d217586639ad94cb0c8b1afabbf57f0d7cf60070.tar.gz | |
Make option lists respect style used in other commands
Diffstat (limited to 'src/distutils2/command')
| -rw-r--r-- | src/distutils2/command/install.py | 15 | ||||
| -rw-r--r-- | src/distutils2/command/install_distinfo.py | 20 |
2 files changed, 20 insertions, 15 deletions
diff --git a/src/distutils2/command/install.py b/src/distutils2/command/install.py index e80e037..b4df04c 100644 --- a/src/distutils2/command/install.py +++ b/src/distutils2/command/install.py @@ -83,11 +83,16 @@ class install(Command): "(not PEP 376-compliant)"), # .dist-info related arguments, read by install_dist_info - ('no-distinfo', None, 'do not create a .dist-info directory'), - ('installer=', None, 'the name of the installer'), - ('requested', None, 'generate a REQUESTED file'), - ('no-requested', None, 'do not generate a REQUESTED file'), - ('no-record', None, 'do not generate a RECORD file'), + ('no-distinfo', None, + "do not create a .dist-info directory"), + ('installer=', None, + "the name of the installer"), + ('requested', None, + "generate a REQUESTED file (i.e."), + ('no-requested', None, + "do not generate a REQUESTED file"), + ('no-record', None, + "do not generate a RECORD file"), ] boolean_options = ['compile', 'force', 'skip-build', 'no-distinfo', diff --git a/src/distutils2/command/install_distinfo.py b/src/distutils2/command/install_distinfo.py index 4898182..498e26c 100644 --- a/src/distutils2/command/install_distinfo.py +++ b/src/distutils2/command/install_distinfo.py @@ -31,18 +31,18 @@ class install_distinfo(Command): user_options = [ ('distinfo-dir=', None, - 'directory where the the .dist-info directory will ' - 'be installed'), - ('installer=', None, 'the name of the installer'), - ('requested', None, 'generate a REQUESTED file'), - ('no-requested', None, 'do not generate a REQUESTED file'), - ('no-record', None, 'do not generate a RECORD file'), + "directory where the the .dist-info directory will be installed"), + ('installer=', None, + "the name of the installer"), + ('requested', None, + "generate a REQUESTED file"), + ('no-requested', None, + "do not generate a REQUESTED file"), + ('no-record', None, + "do not generate a RECORD file"), ] - boolean_options = [ - 'requested', - 'no-record', - ] + boolean_options = ['requested', 'no-record'] negative_opt = {'no-requested': 'requested'} |
