mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
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").
This commit is contained in:
parent
25bfd0e8d0
commit
4fb29e55f8
11 changed files with 59 additions and 78 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue