diff options
Diffstat (limited to 'Lib/distutils/command/bdist.py')
| -rw-r--r-- | Lib/distutils/command/bdist.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/distutils/command/bdist.py b/Lib/distutils/command/bdist.py index d6897d2..ca3da74 100644 --- a/Lib/distutils/command/bdist.py +++ b/Lib/distutils/command/bdist.py @@ -97,7 +97,10 @@ class bdist (Command): def finalize_options (self): # have to finalize 'plat_name' before 'bdist_base' if self.plat_name is None: - self.plat_name = get_platform() + if self.skip_build: + self.plat_name = get_platform() + else: + self.plat_name = self.get_finalized_command('build').plat_name # 'bdist_base' -- parent of per-built-distribution-format # temporary directories (eg. we'll probably have @@ -121,7 +124,6 @@ class bdist (Command): # finalize_options() - def run (self): # Figure out which sub-commands we need to run. |
