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.
This commit is contained in:
Greg Ward 2000-02-18 00:13:53 +00:00
parent e1b1c94a0c
commit 1993f9ad0e
10 changed files with 10 additions and 10 deletions

View File

@ -10,7 +10,7 @@ import os
from distutils.core import Command
class Build (Command):
class build (Command):
description = "build everything needed to install"

View 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"),

View 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)"

View 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"),

View 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)"

View 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"

View 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"

View 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"

View 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"

View 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.)"