]> granicus.if.org Git - python/commitdiff
Untabified.
authorGreg Ward <gward@python.net>
Sat, 14 Oct 2000 04:06:40 +0000 (04:06 +0000)
committerGreg Ward <gward@python.net>
Sat, 14 Oct 2000 04:06:40 +0000 (04:06 +0000)
Lib/distutils/command/bdist.py
Lib/distutils/command/build.py
Lib/distutils/command/build_clib.py
Lib/distutils/command/clean.py
Lib/distutils/command/install.py
Lib/distutils/command/install_data.py
Lib/distutils/command/sdist.py
Lib/distutils/dist.py

index c0cb1d3acdc9883e15e502a389d3c13466903483..a75303e689d3ec1e927245ae4664d5700fc436e5 100644 (file)
@@ -45,7 +45,7 @@ class bdist (Command):
     help_options = [
         ('help-formats', None,
          "lists available distribution formats", show_formats),
-       ]
+        ]
 
     # The following commands do not take a format option from bdist
     no_format_option = ('bdist_rpm',)
index 0fed6b489eaf9671cbe54f8db808d1c7e0610234..cf35b45d01b432e24fe69ccd767c70d2666c9117 100644 (file)
@@ -47,7 +47,7 @@ class build (Command):
     help_options = [
         ('help-compiler', None,
          "list available compilers", show_compilers),
-       ]
+        ]
 
     def initialize_options (self):
         self.build_base = 'build'
index 2726b975fa26303775b722db19f30bc003053d7e..063da915524461236db11e850cfedcf08915efeb 100644 (file)
@@ -53,7 +53,7 @@ class build_clib (Command):
     help_options = [
         ('help-compiler', None,
          "list available compilers", show_compilers),
-       ]
+        ]
 
     def initialize_options (self):
         self.build_clib = None
index fb8822f766e2fac103ab99bfca08f481d7dc7817..b4a9be45f821f6f2f59dbc541fbd6752241006e2 100644 (file)
@@ -60,7 +60,7 @@ class clean (Command):
             # remove build directories
             for directory in (self.build_lib,
                               self.bdist_base,
-                             self.build_scripts):
+                              self.build_scripts):
                 if os.path.exists(directory):
                     remove_tree(directory, self.verbose, self.dry_run)
                 else:
index 012b9f457789d0f201ab84cba36a715c11bb1242..6aee1b35d9ff0f5c2a20b7bcd77bcdac4990bbda 100644 (file)
@@ -498,7 +498,7 @@ class install (Command):
                          self.record)
 
         sys_path = map(os.path.normpath, sys.path)
-       sys_path = map(os.path.normcase, sys_path)
+        sys_path = map(os.path.normcase, sys_path)
         install_lib = os.path.normcase(os.path.normpath(self.install_lib))
         if (self.warn_dir and
             not (self.path_file and self.install_path_file) and
index d9a486936cfb03a7f1b145d7c6920e4b626f2558..dba108af14136b8804e4c7b1b2baf7f0a922a54f 100644 (file)
@@ -38,10 +38,10 @@ class install_data (Command):
 
     def finalize_options (self):
         self.set_undefined_options('install',
-                                  ('install_data', 'install_dir'),
-                                  ('root', 'root'),
+                                   ('install_data', 'install_dir'),
+                                   ('root', 'root'),
                                    ('force', 'force'),
-                                 )
+                                  )
 
     def run (self):
         self.mkpath(self.install_dir)
index 5116868e76bb11ef87f5ce3f9bd3555ea3bc264c..1f9e9184d74bda335ef484f4aa0a4ae45c66c2ec 100644 (file)
@@ -74,7 +74,7 @@ class sdist (Command):
     help_options = [
         ('help-formats', None,
          "list available distribution formats", show_formats),
-       ]
+        ]
 
     negative_opt = {'no-defaults': 'use-defaults',
                     'no-prune': 'prune' }
index 92d390f777c11ebf45bb38913c65fcc9d1006d30..abbc160067769377c5b92da3ad8d72892ae9998d 100644 (file)
@@ -284,7 +284,7 @@ class Distribution:
             user_filename = ".pydistutils.cfg"
         else:
             user_filename = "pydistutils.cfg"
-       
+
         # And look for the user config file
         if os.environ.has_key('HOME'):
             user_file = os.path.join(os.environ.get('HOME'), user_filename)
@@ -461,8 +461,8 @@ class Distribution:
             negative_opt = copy(negative_opt)
             negative_opt.update(cmd_class.negative_opt)
 
-       # Check for help_options in command class.  They have a different
-       # format (tuple of four) so we need to preprocess them here.
+        # Check for help_options in command class.  They have a different
+        # format (tuple of four) so we need to preprocess them here.
         if (hasattr(cmd_class, 'help_options') and
             type(cmd_class.help_options) is ListType):
             help_options = fix_help_options(cmd_class.help_options)
@@ -487,7 +487,7 @@ class Distribution:
             for (help_option, short, desc, func) in cmd_class.help_options:
                 if hasattr(opts, parser.get_attr_name(help_option)):
                     help_option_found=1
-                   #print "showing help for option %s of command %s" % \
+                    #print "showing help for option %s of command %s" % \
                     #      (help_option[0],cmd_class)
 
                     if callable(func):
@@ -563,7 +563,7 @@ class Distribution:
         return
 
     # _show_help ()
-       
+
 
     def handle_display_options (self, option_order):
         """If there were any non-global "display-only" options