summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/bdist.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-01-12 11:27:42 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-01-12 11:27:42 (GMT)
commit9668b933e306f92aaab5a19a4316124b00978c48 (patch)
tree204c012e73ec778bd2ec46cf891354312f3650a9 /Lib/distutils/command/bdist.py
parentcdc445122208cb90a59a468a7396b227e223c43a (diff)
downloadcpython-9668b933e306f92aaab5a19a4316124b00978c48.zip
cpython-9668b933e306f92aaab5a19a4316124b00978c48.tar.gz
cpython-9668b933e306f92aaab5a19a4316124b00978c48.tar.bz2
Patch #414775: Add --skip-build option to bdist command.
Diffstat (limited to 'Lib/distutils/command/bdist.py')
-rw-r--r--Lib/distutils/command/bdist.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/distutils/command/bdist.py b/Lib/distutils/command/bdist.py
index 2b1951f..fc18bd0 100644
--- a/Lib/distutils/command/bdist.py
+++ b/Lib/distutils/command/bdist.py
@@ -40,8 +40,12 @@ class bdist (Command):
('dist-dir=', 'd',
"directory to put final built distributions in "
"[default: dist]"),
+ ('skip-build', None,
+ "skip rebuilding everything (for testing/debugging)"),
]
+ boolean_options = ['skip-build']
+
help_options = [
('help-formats', None,
"lists available distribution formats", show_formats),
@@ -76,6 +80,7 @@ class bdist (Command):
self.plat_name = None
self.formats = None
self.dist_dir = None
+ self.skip_build = 0
# initialize_options()