Make bdist_* commands respect --skip-build passed to bdist (#10946)

This commit is contained in:
Éric Araujo 2011-08-29 21:48:39 +02:00
parent aa26b27503
commit fbe37dfffe
5 changed files with 43 additions and 25 deletions

View file

@ -47,7 +47,7 @@ class bdist_dumb(Command):
self.format = None
self.keep_temp = 0
self.dist_dir = None
self.skip_build = 0
self.skip_build = None
self.relative = 0
def finalize_options(self):
@ -65,7 +65,8 @@ class bdist_dumb(Command):
self.set_undefined_options('bdist',
('dist_dir', 'dist_dir'),
('plat_name', 'plat_name'))
('plat_name', 'plat_name'),
('skip_build', 'skip_build'))
def run(self):
if not self.skip_build: