Commit 1993f9ad authored by Greg Ward's avatar Greg Ward

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.
parent e1b1c94a
......@@ -10,7 +10,7 @@ import os
from distutils.core import Command
class Build (Command):
class build (Command):
description = "build everything needed to install"
......
......@@ -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"),
......
......@@ -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)"
......
......@@ -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"),
......
......@@ -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)"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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.)"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment