From: Michael W. Hudson Date: Mon, 25 Mar 2002 13:15:04 +0000 (+0000) Subject: backport akuchling's checkin of X-Git-Tag: v2.2.1c2~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5fab811d3cb9033980f848bbdf0c536bc692df18;p=thirdparty%2FPython%2Fcpython.git backport akuchling's checkin of revision 1.62 of install.py 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 8755a1424a72..ffc6e414569b 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -127,7 +127,7 @@ class install (Command): "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'} @@ -157,8 +157,7 @@ class install (Command): 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