Fix from Lyle Johnson: add the '--compiler' option.
diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py
index 7fb0b56..7d753b1 100644
--- a/Lib/distutils/command/build.py
+++ b/Lib/distutils/command/build.py
@@ -26,10 +26,12 @@
"build-purelib or build-platlib"),
('build-temp=', 't',
"temporary build directory"),
+ ('compiler=', 'c',
+ "specify the compiler type"),
('debug', 'g',
"compile extensions and libraries with debugging information"),
('force', 'f',
- "forcibly build everything (ignore file timestamps"),
+ "forcibly build everything (ignore file timestamps)"),
]
def initialize_options (self):
@@ -40,6 +42,7 @@
self.build_platlib = None
self.build_lib = None
self.build_temp = None
+ self.compiler = None
self.debug = None
self.force = 0