diff options
| author | Andrew Francis <af.stackless@gmail.com> | 2010-12-08 23:02:00 -0500 |
|---|---|---|
| committer | Andrew Francis <af.stackless@gmail.com> | 2010-12-08 23:02:00 -0500 |
| commit | 401d5761f5fd333fbbf9ff121ec5b7ab099fa75f (patch) | |
| tree | d6bb3321801c350390051f70b901a3aef3fedb2a /distutils2/command | |
| parent | ba171e144365d5edc75157cfdc249846b41fc590 (diff) | |
| download | disutils2-401d5761f5fd333fbbf9ff121ec5b7ab099fa75f.tar.gz | |
improved test coverage on command.bdist
Diffstat (limited to 'distutils2/command')
| -rw-r--r-- | distutils2/command/bdist.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distutils2/command/bdist.py b/distutils2/command/bdist.py index c7ffc7f..f8976e1 100644 --- a/distutils2/command/bdist.py +++ b/distutils2/command/bdist.py @@ -4,7 +4,7 @@ Implements the Distutils 'bdist' command (create a built [binary] distribution).""" import os -from distutils2.util import get_platform +from distutils2 import util from distutils2.command.cmd import Command from distutils2.errors import DistutilsPlatformError, DistutilsOptionError @@ -29,7 +29,7 @@ class bdist(Command): "temporary directory for creating built distributions"), ('plat-name=', 'p', "platform name to embed in generated filenames " - "(default: %s)" % get_platform()), + "(default: %s)" % util.get_platform()), ('formats=', None, "formats for distribution (comma-separated list)"), ('dist-dir=', 'd', @@ -87,7 +87,7 @@ class bdist(Command): # have to finalize 'plat_name' before 'bdist_base' if self.plat_name is None: if self.skip_build: - self.plat_name = get_platform() + self.plat_name = util.get_platform() else: self.plat_name = self.get_finalized_command('build').plat_name |
