Renamed all command classes so they're exactly the same as the name of the
authorGreg Ward <gward@python.net>
Fri, 18 Feb 2000 00:13:53 +0000 (00:13 +0000)
committerGreg Ward <gward@python.net>
Fri, 18 Feb 2000 00:13:53 +0000 (00:13 +0000)
command itself: no more of this "FooBar class for foo_bar command"
silliness.

Lib/distutils/command/build.py
Lib/distutils/command/build_clib.py
Lib/distutils/command/build_ext.py
Lib/distutils/command/build_lib.py
Lib/distutils/command/build_py.py
Lib/distutils/command/install.py
Lib/distutils/command/install_ext.py
Lib/distutils/command/install_lib.py
Lib/distutils/command/install_py.py
Lib/distutils/command/sdist.py

index 82a4e6c292f688a210c07a6b667f77cdc72a8a93..bcbb9332e4e237d5aeb7659b40c1c2b214f08839 100644 (file)
@@ -10,7 +10,7 @@ import os
 from distutils.core import Command
 
 
-class Build (Command):
+class build (Command):
 
     description = "build everything needed to install"
 
index 6571281816646b157e43818a3b358d78eae7fba9..749b0c2ba2dac6640a27ba26582043d6e36ff88f 100644 (file)
@@ -26,7 +26,7 @@ from distutils.errors import *
 from distutils.ccompiler import new_compiler
 
 
-class BuildLib (Command):
+class build_lib (Command):
 
     options = [('debug', 'g',
                 "compile with debugging information"),
index 42eab4796dd6643d0b71695e6b1736d657cb8096..ea0e294a70149154e60675ad8c1e1894b0a91c3f 100644 (file)
@@ -20,7 +20,7 @@ extension_name_re = re.compile \
     (r'^[a-zA-Z_][a-zA-Z_0-9]*(\.[a-zA-Z_][a-zA-Z_0-9]*)*$')
 
 
-class BuildExt (Command):
+class build_ext (Command):
     
     description = "build C/C++ extensions (compile/link to build directory)"
 
index 6571281816646b157e43818a3b358d78eae7fba9..749b0c2ba2dac6640a27ba26582043d6e36ff88f 100644 (file)
@@ -26,7 +26,7 @@ from distutils.errors import *
 from distutils.ccompiler import new_compiler
 
 
-class BuildLib (Command):
+class build_lib (Command):
 
     options = [('debug', 'g',
                 "compile with debugging information"),
index 048962b29fbf714ae82c0663ad4f02c37c951065..f492ee374f8ff07f091d046b5253eaa003ab10b3 100644 (file)
@@ -14,7 +14,7 @@ from distutils.core import Command
 from distutils.errors import *
 
 
-class BuildPy (Command):
+class build_py (Command):
 
     description = "\"build\" pure Python modules (copy to build directory)"
 
index 0e5b01cc98c5142d12702b15047a04ff2f4e9187..b57ec6f2f1f22f939eb3efa6f605b987d314d3fc 100644 (file)
@@ -12,7 +12,7 @@ from distutils.core import Command
 from distutils.util import write_file
 
 
-class Install (Command):
+class install (Command):
 
     description = "install everything from build directory"
 
index 599a37e1cecf3a5fcbde569f7854c9ef3f23dc2a..ba343d2e42fcdcbfdb28e5c4827c34f6e5bba6df 100644 (file)
@@ -9,7 +9,7 @@ __rcsid__ = "$Id$"
 from distutils.core import Command
 from distutils.util import copy_tree
 
-class InstallExt (Command):
+class install_ext (Command):
 
     description = "install C/C++ extension modules"
     
index 2e8a6706862bbb40676f30667f9ac5be5336d24d..e898ce0c187540a7fadc3899700cf114ede0d58b 100644 (file)
@@ -6,7 +6,7 @@ import sys, string
 from distutils.core import Command
 from distutils.util import copy_tree
 
-class InstallPy (Command):
+class install_py (Command):
 
     description = "install pure Python modules"
 
index 2e8a6706862bbb40676f30667f9ac5be5336d24d..e898ce0c187540a7fadc3899700cf114ede0d58b 100644 (file)
@@ -6,7 +6,7 @@ import sys, string
 from distutils.core import Command
 from distutils.util import copy_tree
 
-class InstallPy (Command):
+class install_py (Command):
 
     description = "install pure Python modules"
 
index c8101a708e9b1a40c6376100a6fad9a379799913..d8908328628c25adecc2d6ec693f171c826bd6fc 100644 (file)
@@ -17,7 +17,7 @@ from distutils.text_file import TextFile
 from distutils.errors import DistutilsExecError
 
 
-class Sdist (Command):
+class sdist (Command):
 
     description = "create a source distribution (tarball, zip file, etc.)"