"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):
self.build_platlib = None
self.build_lib = None
self.build_temp = None
+ self.compiler = None
self.debug = None
self.force = 0
('debug', 'g',
"compile with debugging information"),
('force', 'f',
- "forcibly build everything (ignore file timestamps"),
+ "forcibly build everything (ignore file timestamps)"),
+ ('compiler=', 'c',
+ "specify the compiler type"),
]
def initialize_options (self):
self.undef = None
self.debug = None
self.force = 0
+ self.compiler = None
# initialize_options()
self.set_undefined_options ('build',
('build_temp', 'build_clib'),
('build_temp', 'build_temp'),
+ ('compiler', 'compiler'),
('debug', 'debug'),
('force', 'force'))
return
# Yech -- this is cut 'n pasted from build_ext.py!
- self.compiler = new_compiler (verbose=self.verbose,
+ self.compiler = new_compiler (compiler=self.compiler,
+ verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
+
if self.include_dirs is not None:
self.compiler.set_include_dirs (self.include_dirs)
if self.define is not None: