mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -33,7 +33,7 @@ class build_lib (Command):
|
|||
"compile with debugging information"),
|
||||
]
|
||||
|
||||
def set_default_options (self):
|
||||
def initialize_options (self):
|
||||
# List of libraries to build
|
||||
self.libraries = None
|
||||
|
||||
|
@ -43,9 +43,9 @@ class build_lib (Command):
|
|||
self.undef = None
|
||||
self.debug = None
|
||||
|
||||
# set_default_options()
|
||||
# initialize_options()
|
||||
|
||||
def set_final_options (self):
|
||||
def finalize_options (self):
|
||||
self.set_undefined_options ('build',
|
||||
('debug', 'debug'))
|
||||
self.libraries = self.distribution.libraries
|
||||
|
@ -58,7 +58,7 @@ class build_lib (Command):
|
|||
# XXX same as for build_ext -- what about 'self.define' and
|
||||
# 'self.undef' ?
|
||||
|
||||
# set_final_options()
|
||||
# finalize_options()
|
||||
|
||||
|
||||
def run (self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue