summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.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_ext.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_ext.py')
-rw-r--r--Lib/distutils/command/build_ext.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index acf1d7b..cef3ca8 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -167,7 +167,7 @@ class build_ext (Command):
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
- build_clib = self.find_peer ('build_clib')
+ build_clib = self.get_finalized_command ('build_clib')
self.libraries.extend (build_clib.get_library_names() or [])
self.library_dirs.append (build_clib.build_clib)
@@ -294,7 +294,7 @@ class build_ext (Command):
package = string.join (modpath[0:-1], '.')
base = modpath[-1]
- build_py = self.find_peer ('build_py')
+ build_py = self.get_finalized_command ('build_py')
package_dir = build_py.get_package_dir (package)
ext_filename = os.path.join (package_dir,
self.get_ext_filename(base))