mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +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
|
|
@ -50,7 +50,7 @@ class sdist (Command):
|
|||
exclude_re = re.compile (r'\s*!\s*(\S+)') # for manifest lines
|
||||
|
||||
|
||||
def set_default_options (self):
|
||||
def initialize_options (self):
|
||||
# 'template' and 'manifest' are, respectively, the names of
|
||||
# the manifest template and manifest file.
|
||||
self.template = None
|
||||
|
|
@ -68,7 +68,7 @@ class sdist (Command):
|
|||
self.keep_tree = 0
|
||||
|
||||
|
||||
def set_final_options (self):
|
||||
def finalize_options (self):
|
||||
if self.manifest is None:
|
||||
self.manifest = "MANIFEST"
|
||||
if self.template is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue