summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-02-18 00:35:22 (GMT)
committerGreg Ward <gward@python.net>2000-02-18 00:35:22 (GMT)
commite01149cbe83778a5cf872a6b429ff33179b7cdcb (patch)
tree7c5d4a04d726c6c2a0993dc8abd5563e0ae20453 /Lib/distutils/command/build_ext.py
parent4c96db1a65d5803c19070a0dbb5a53a98ffb2968 (diff)
downloadcpython-e01149cbe83778a5cf872a6b429ff33179b7cdcb.zip
cpython-e01149cbe83778a5cf872a6b429ff33179b7cdcb.tar.gz
cpython-e01149cbe83778a5cf872a6b429ff33179b7cdcb.tar.bz2
Renamed 'set_default_options()' to 'initialize_options()', and
'set_final_options()' to 'finalize_options()'.
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r--Lib/distutils/command/build_ext.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 963abc2..8ed3a97 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -38,9 +38,9 @@ class build_ext (Command):
# structure
# - that data structure (in this case, a list of 2-tuples)
# will then be present in the command object by the time
- # we get to set_final_options() (i.e. the constructor
+ # we get to finalize_options() (i.e. the constructor
# takes care of both command-line and client options
- # in between set_default_options() and set_final_options())
+ # in between initialize_options() and finalize_options())
user_options = [
('build-dir=', 'd',
@@ -64,7 +64,7 @@ class build_ext (Command):
]
- def set_default_options (self):
+ def initialize_options (self):
self.extensions = None
self.build_dir = None
self.package = None
@@ -79,7 +79,7 @@ class build_ext (Command):
self.debug = None
- def set_final_options (self):
+ def finalize_options (self):
from distutils import sysconfig
self.set_undefined_options ('build',
@@ -112,7 +112,7 @@ class build_ext (Command):
# XXX how the heck are 'self.define' and 'self.undef' supposed to
# be set?
- # set_final_options ()
+ # finalize_options ()
def run (self):