mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Fix from Lyle Johnson: add the '--compiler' option.
This commit is contained in:
parent
c9a5f343bc
commit
9668b78b9f
2 changed files with 12 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue