diff options
| author | Éric Araujo <merwok@netwok.org> | 2011-08-29 23:42:50 (GMT) |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2011-08-29 23:42:50 (GMT) |
| commit | b9fe54cccc3798f089489ef1e7f9026a35d16d6b (patch) | |
| tree | e28f0aa1563038ff6cc0678cc3f327503623d540 /Lib/packaging/command/bdist_dumb.py | |
| parent | 83ab3f319b3b83c84c4df72349b6ce7d5ec936da (diff) | |
| download | cpython-b9fe54cccc3798f089489ef1e7f9026a35d16d6b.zip cpython-b9fe54cccc3798f089489ef1e7f9026a35d16d6b.tar.gz cpython-b9fe54cccc3798f089489ef1e7f9026a35d16d6b.tar.bz2 | |
Make bdist_* commands respect --skip-build passed to bdist (#10946).
There was already a test for this, but it was complicated and had a
subtle bug (custom command objects need to be put in dist.command_obj so
that other command objects may see them) that rendered it moot.
Diffstat (limited to 'Lib/packaging/command/bdist_dumb.py')
| -rw-r--r-- | Lib/packaging/command/bdist_dumb.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/packaging/command/bdist_dumb.py b/Lib/packaging/command/bdist_dumb.py index ed83c8e..d5773f0 100644 --- a/Lib/packaging/command/bdist_dumb.py +++ b/Lib/packaging/command/bdist_dumb.py @@ -55,7 +55,7 @@ class bdist_dumb(Command): self.format = None self.keep_temp = False self.dist_dir = None - self.skip_build = False + self.skip_build = None self.relative = False self.owner = None self.group = None @@ -73,7 +73,8 @@ class bdist_dumb(Command): "don't know how to create dumb built distributions " "on platform %s" % os.name) - self.set_undefined_options('bdist', 'dist_dir', 'plat_name') + self.set_undefined_options('bdist', + 'dist_dir', 'plat_name', 'skip_build') def run(self): if not self.skip_build: |
