From 5fab811d3cb9033980f848bbdf0c536bc692df18 Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Mon, 25 Mar 2002 13:15:04 +0000 Subject: [PATCH] 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. --- Lib/distutils/command/install.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.47.3