summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2000-05-12 00:33:14 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2000-05-12 00:33:14 (GMT)
commit9668b78b9f766e88aac1671373906f376e7429ff (patch)
tree2701d78e49c6c1c3a009911f2aadb65ccb8d0cb4 /Lib/distutils/command/build.py
parentc9a5f343bcd33a5cc4405ae298142a3d5fc73d6e (diff)
downloadcpython-9668b78b9f766e88aac1671373906f376e7429ff.zip
cpython-9668b78b9f766e88aac1671373906f376e7429ff.tar.gz
cpython-9668b78b9f766e88aac1671373906f376e7429ff.tar.bz2
Fix from Lyle Johnson: add the '--compiler' option.
Diffstat (limited to 'Lib/distutils/command/build.py')
-rw-r--r--Lib/distutils/command/build.py5
1 files changed, 4 insertions, 1 deletions
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 @@ class build (Command):
"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 @@ class build (Command):
self.build_platlib = None
self.build_lib = None
self.build_temp = None
+ self.compiler = None
self.debug = None
self.force = 0