mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Renamed 'set_default_options()' to 'initialize_options()', and
'set_final_options()' to 'finalize_options()'.
This commit is contained in:
parent
4c96db1a65
commit
e01149cbe8
10 changed files with 28 additions and 28 deletions
|
@ -25,7 +25,7 @@ class build (Command):
|
|||
"compile extensions and libraries with debugging information"),
|
||||
]
|
||||
|
||||
def set_default_options (self):
|
||||
def initialize_options (self):
|
||||
self.build_base = 'build'
|
||||
# these are decided only after 'build_base' has its final value
|
||||
# (unless overridden by the user or client)
|
||||
|
@ -33,7 +33,7 @@ class build (Command):
|
|||
self.build_platlib = None
|
||||
self.debug = None
|
||||
|
||||
def set_final_options (self):
|
||||
def finalize_options (self):
|
||||
# 'build_lib' and 'build_platlib' just default to 'lib' and
|
||||
# 'platlib' under the base build directory
|
||||
if self.build_lib is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue