Commit 127d81ce authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Add missing Boolean options

Remove unused no_compile flag
Initialize the Boolean attribute .compile to 0 instead of None

Bugfix candidate.
parent 1e740e80
...@@ -134,7 +134,7 @@ class install (Command): ...@@ -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): ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment