Add missing Boolean options
Remove unused no_compile flag
Initialize the Boolean attribute .compile to 0 instead of None
Bugfix candidate.
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 4d78d3a..2a18fb9 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -134,7 +134,7 @@
"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'}
@@ -164,8 +164,7 @@
self.install_scripts = None
self.install_data = None
- self.compile = None
- self.no_compile = None
+ self.compile = 0
self.optimize = None
# These two are for putting non-packagized distributions into their