summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-27 17:27:23 (GMT)
committerGreg Ward <gward@python.net>2000-05-27 17:27:23 (GMT)
commit4fb29e55f8f53e60b36eae3fbe56e9666aacc9c5 (patch)
treec117c1d3a5eb065b8bcd0144f8c3a26a871365ff /Lib/distutils/command/build.py
parent25bfd0e8d00d2e601f38f163c9cb6f7c862abd2f (diff)
downloadcpython-4fb29e55f8f53e60b36eae3fbe56e9666aacc9c5.zip
cpython-4fb29e55f8f53e60b36eae3fbe56e9666aacc9c5.tar.gz
cpython-4fb29e55f8f53e60b36eae3fbe56e9666aacc9c5.tar.bz2
Some far-reaching naming changes:
* Command method 'find_peer()' -> 'get_finalized_command()' * Command method 'run_peer()' -> 'run_command()' Also deleted the 'get_command_option()' method from Command, and fixed the one place where it was used (in "bdist_dumb").
Diffstat (limited to 'Lib/distutils/command/build.py')
-rw-r--r--Lib/distutils/command/build.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py
index d9eed76..b0894b8 100644
--- a/Lib/distutils/command/build.py
+++ b/Lib/distutils/command/build.py
@@ -92,20 +92,20 @@ class build (Command):
# Invoke the 'build_py' command to "build" pure Python modules
# (ie. copy 'em into the build tree)
if self.distribution.has_pure_modules():
- self.run_peer ('build_py')
+ self.run_command ('build_py')
# Build any standalone C libraries next -- they're most likely to
# be needed by extension modules, so obviously have to be done
# first!
if self.distribution.has_c_libraries():
- self.run_peer ('build_clib')
+ self.run_command ('build_clib')
# And now 'build_ext' -- compile extension modules and put them
# into the build tree
if self.distribution.has_ext_modules():
- self.run_peer ('build_ext')
+ self.run_command ('build_ext')
if self.distribution.has_scripts():
- self.run_peer ('build_scripts')
+ self.run_command ('build_scripts')
# class build