summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2002-03-21 23:46:54 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2002-03-21 23:46:54 (GMT)
commit3f1822b468efed725bf1d16d6d6d5b324573f0dd (patch)
tree0bc1fe0439eefc1f777d60d0cd90587bf5f59058
parentda9f0bf4dd234a6686b77a40c6f70bd249944fc9 (diff)
downloadcpython-3f1822b468efed725bf1d16d6d6d5b324573f0dd.zip
cpython-3f1822b468efed725bf1d16d6d6d5b324573f0dd.tar.gz
cpython-3f1822b468efed725bf1d16d6d6d5b324573f0dd.tar.bz2
Add missing Boolean options
Remove unused no_compile flag Initialize the Boolean attribute .compile to 0 instead of None Bugfix candidate.
-rw-r--r--Lib/distutils/command/install.py5
1 files changed, 2 insertions, 3 deletions
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 @@ 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'}
@@ -164,8 +164,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