Commits

Michael W. Hudson  committed 1afbc56

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.

  • Participants
  • Parent commits 21e8972
  • Branches 2.2

Comments (0)

Files changed (1)

File Lib/distutils/command/install.py

          "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'}
 
 
         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