From 1993f9ad0e2cf53c8dc441cbbb44eb2e3a190538 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Fri, 18 Feb 2000 00:13:53 +0000 Subject: [PATCH] Renamed all command classes so they're exactly the same as the name of the command itself: no more of this "FooBar class for foo_bar command" silliness. --- Lib/distutils/command/build.py | 2 +- Lib/distutils/command/build_clib.py | 2 +- Lib/distutils/command/build_ext.py | 2 +- Lib/distutils/command/build_lib.py | 2 +- Lib/distutils/command/build_py.py | 2 +- Lib/distutils/command/install.py | 2 +- Lib/distutils/command/install_ext.py | 2 +- Lib/distutils/command/install_lib.py | 2 +- Lib/distutils/command/install_py.py | 2 +- Lib/distutils/command/sdist.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py index 82a4e6c292f..bcbb9332e4e 100644 --- a/Lib/distutils/command/build.py +++ b/Lib/distutils/command/build.py @@ -10,7 +10,7 @@ import os from distutils.core import Command -class Build (Command): +class build (Command): description = "build everything needed to install" diff --git a/Lib/distutils/command/build_clib.py b/Lib/distutils/command/build_clib.py index 65712818166..749b0c2ba2d 100644 --- a/Lib/distutils/command/build_clib.py +++ b/Lib/distutils/command/build_clib.py @@ -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"), diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 42eab4796dd..ea0e294a701 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -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)" diff --git a/Lib/distutils/command/build_lib.py b/Lib/distutils/command/build_lib.py index 65712818166..749b0c2ba2d 100644 --- a/Lib/distutils/command/build_lib.py +++ b/Lib/distutils/command/build_lib.py @@ -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"), diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index 048962b29fb..f492ee374f8 100644 --- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -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)" diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 0e5b01cc98c..b57ec6f2f1f 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -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" diff --git a/Lib/distutils/command/install_ext.py b/Lib/distutils/command/install_ext.py index 599a37e1cec..ba343d2e42f 100644 --- a/Lib/distutils/command/install_ext.py +++ b/Lib/distutils/command/install_ext.py @@ -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" diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py index 2e8a6706862..e898ce0c187 100644 --- a/Lib/distutils/command/install_lib.py +++ b/Lib/distutils/command/install_lib.py @@ -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" diff --git a/Lib/distutils/command/install_py.py b/Lib/distutils/command/install_py.py index 2e8a6706862..e898ce0c187 100644 --- a/Lib/distutils/command/install_py.py +++ b/Lib/distutils/command/install_py.py @@ -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" diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py index c8101a708e9..d8908328628 100644 --- a/Lib/distutils/command/sdist.py +++ b/Lib/distutils/command/sdist.py @@ -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.)"