mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Renamed all 'options' class attributes to 'user_options'.
This commit is contained in:
parent
592f28272e
commit
bbeceeaf9a
10 changed files with 112 additions and 102 deletions
|
@ -14,15 +14,16 @@ class build (Command):
|
|||
|
||||
description = "build everything needed to install"
|
||||
|
||||
options = [('build-base=', 'b',
|
||||
"base directory for build library"),
|
||||
('build-lib=', 'l',
|
||||
"directory for platform-shared files"),
|
||||
('build-platlib=', 'p',
|
||||
"directory for platform-specific files"),
|
||||
('debug', 'g',
|
||||
"compile extensions and libraries with debugging information"),
|
||||
]
|
||||
user_options = [
|
||||
('build-base=', 'b',
|
||||
"base directory for build library"),
|
||||
('build-lib=', 'l',
|
||||
"directory for platform-shared files"),
|
||||
('build-platlib=', 'p',
|
||||
"directory for platform-specific files"),
|
||||
('debug', 'g',
|
||||
"compile extensions and libraries with debugging information"),
|
||||
]
|
||||
|
||||
def set_default_options (self):
|
||||
self.build_base = 'build'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue