mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -10,11 +10,12 @@ class install_py (Command):
|
|||
|
||||
description = "install pure Python modules"
|
||||
|
||||
options = [('install-dir=', 'd', "directory to install to"),
|
||||
('build-dir=','b', "build directory (where to install from)"),
|
||||
('compile', 'c', "compile .py to .pyc"),
|
||||
('optimize', 'o', "compile .py to .pyo (optimized)"),
|
||||
]
|
||||
user_options = [
|
||||
('install-dir=', 'd', "directory to install to"),
|
||||
('build-dir=','b', "build directory (where to install from)"),
|
||||
('compile', 'c', "compile .py to .pyc"),
|
||||
('optimize', 'o', "compile .py to .pyo (optimized)"),
|
||||
]
|
||||
|
||||
|
||||
def set_default_options (self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue