summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/command/build.py')
-rw-r--r--Lib/distutils/command/build.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py
index 2da589ab29..bca0ece808 100644
--- a/Lib/distutils/command/build.py
+++ b/Lib/distutils/command/build.py
@@ -28,6 +28,8 @@ class build (Command):
"temporary build directory"),
('debug', 'g',
"compile extensions and libraries with debugging information"),
+ ('force', 'f',
+ "forcibly build everything (ignore file timestamps"),
]
def initialize_options (self):
@@ -39,9 +41,12 @@ class build (Command):
self.build_lib = None
self.build_temp = None
self.debug = None
+ self.force = 0
def finalize_options (self):
+ print "build.finalize: force=%s" % self.force
+
# Need this to name platform-specific directories, but sys.platform
# is not enough -- it only names the OS and version, not the
# hardware architecture!