aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/distutils/command/install.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-27 17:27:23 +0000
committerGreg Ward <gward@python.net>2000-05-27 17:27:23 +0000
commit4fb29e55f8f53e60b36eae3fbe56e9666aacc9c5 (patch)
treec117c1d3a5eb065b8bcd0144f8c3a26a871365ff /Lib/distutils/command/install.py
parent25bfd0e8d00d2e601f38f163c9cb6f7c862abd2f (diff)
downloadcpython-4fb29e55f8f53e60b36eae3fbe56e9666aacc9c5.tar.gz
cpython-4fb29e55f8f53e60b36eae3fbe56e9666aacc9c5.zip
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/install.py')
-rw-r--r--Lib/distutils/command/install.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index d89ce4d2553..bc5d8f33bee 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -454,11 +454,11 @@ class install (Command):
# Obviously have to build before we can install
if not self.skip_build:
- self.run_peer ('build')
+ self.run_command ('build')
# Run all sub-commands (at least those that need to be run)
for cmd_name in self.get_sub_commands():
- self.run_peer (cmd_name)
+ self.run_command (cmd_name)
if self.path_file:
self.create_path_file ()
@@ -507,7 +507,7 @@ class install (Command):
# get the outputs of all its sub-commands.
outputs = []
for cmd_name in self.get_sub_commands():
- cmd = self.find_peer (cmd_name)
+ cmd = self.get_finalized_command (cmd_name)
outputs.extend (cmd.get_outputs())
return outputs
@@ -517,7 +517,7 @@ class install (Command):
# XXX gee, this looks familiar ;-(
inputs = []
for cmd_name in self.get_sub_commands():
- cmd = self.find_peer (cmd_name)
+ cmd = self.get_finalized_command (cmd_name)
inputs.extend (cmd.get_inputs())
return inputs