mirror of
https://github.com/python/cpython.git
synced 2025-10-15 03:10:29 +00:00
Add missing Boolean options
Remove unused no_compile flag Initialize the Boolean attribute .compile to 0 instead of None Bugfix candidate.
This commit is contained in:
parent
da9f0bf4dd
commit
3f1822b468
1 changed files with 2 additions and 3 deletions
|
@ -134,7 +134,7 @@ class install (Command):
|
||||||
"filename in which to record list of installed files"),
|
"filename in which to record list of installed files"),
|
||||||
]
|
]
|
||||||
|
|
||||||
boolean_options = ['force', 'skip-build']
|
boolean_options = ['compile', 'force', 'skip-build']
|
||||||
negative_opt = {'no-compile' : 'compile'}
|
negative_opt = {'no-compile' : 'compile'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -164,8 +164,7 @@ class install (Command):
|
||||||
self.install_scripts = None
|
self.install_scripts = None
|
||||||
self.install_data = None
|
self.install_data = None
|
||||||
|
|
||||||
self.compile = None
|
self.compile = 0
|
||||||
self.no_compile = None
|
|
||||||
self.optimize = None
|
self.optimize = None
|
||||||
|
|
||||||
# These two are for putting non-packagized distributions into their
|
# These two are for putting non-packagized distributions into their
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue