summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-02-18 00:13:53 (GMT)
committerGreg Ward <gward@python.net>2000-02-18 00:13:53 (GMT)
commit1993f9ad0e2cf53c8dc441cbbb44eb2e3a190538 (patch)
tree08fa9394ecabe2d5505ed392beaf966a2535c369
parente1b1c94a0c38188b932a553115df34dca364a9ff (diff)
downloadcpython-1993f9ad0e2cf53c8dc441cbbb44eb2e3a190538.zip
cpython-1993f9ad0e2cf53c8dc441cbbb44eb2e3a190538.tar.gz
cpython-1993f9ad0e2cf53c8dc441cbbb44eb2e3a190538.tar.bz2
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.
-rw-r--r--Lib/distutils/command/build.py2
-rw-r--r--Lib/distutils/command/build_clib.py2
-rw-r--r--Lib/distutils/command/build_ext.py2
-rw-r--r--Lib/distutils/command/build_lib.py2
-rw-r--r--Lib/distutils/command/build_py.py2
-rw-r--r--Lib/distutils/command/install.py2
-rw-r--r--Lib/distutils/command/install_ext.py2
-rw-r--r--Lib/distutils/command/install_lib.py2
-rw-r--r--Lib/distutils/command/install_py.py2
-rw-r--r--Lib/distutils/command/sdist.py2
10 files changed, 10 insertions, 10 deletions
diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py
index 82a4e6c..bcbb933 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 6571281..749b0c2 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 42eab47..ea0e294 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 6571281..749b0c2 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 048962b..f492ee3 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 0e5b01c..b57ec6f 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 599a37e..ba343d2 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 2e8a670..e898ce0 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 2e8a670..e898ce0 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 c8101a7..d890832 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.)"