diff options
author | Greg Ward <gward@python.net> | 2000-05-27 17:27:23 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-05-27 17:27:23 (GMT) |
commit | 4fb29e55f8f53e60b36eae3fbe56e9666aacc9c5 (patch) | |
tree | c117c1d3a5eb065b8bcd0144f8c3a26a871365ff /Lib/distutils/command/sdist.py | |
parent | 25bfd0e8d00d2e601f38f163c9cb6f7c862abd2f (diff) | |
download | cpython-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/sdist.py')
-rw-r--r-- | Lib/distutils/command/sdist.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py index 0a57ba3..6626b9e 100644 --- a/Lib/distutils/command/sdist.py +++ b/Lib/distutils/command/sdist.py @@ -223,15 +223,15 @@ class sdist (Command): self.files.extend (files) if self.distribution.has_pure_modules(): - build_py = self.find_peer ('build_py') + build_py = self.get_finalized_command ('build_py') self.files.extend (build_py.get_source_files ()) if self.distribution.has_ext_modules(): - build_ext = self.find_peer ('build_ext') + build_ext = self.get_finalized_command ('build_ext') self.files.extend (build_ext.get_source_files ()) if self.distribution.has_c_libraries(): - build_clib = self.find_peer ('build_clib') + build_clib = self.get_finalized_command ('build_clib') self.files.extend (build_clib.get_source_files ()) @@ -441,7 +441,7 @@ class sdist (Command): # while loop over lines of template file # Prune away the build and source distribution directories - build = self.find_peer ('build') + build = self.get_finalized_command ('build') exclude_pattern (self.files, None, prefix=build.build_base) base_dir = self.distribution.get_fullname() |