diff options
| author | ?ric Araujo <merwok@netwok.org> | 2011-09-19 03:51:51 +0200 |
|---|---|---|
| committer | ?ric Araujo <merwok@netwok.org> | 2011-09-19 03:51:51 +0200 |
| commit | 6b181d2a0fb465faf6402cdda337fbfeda93207e (patch) | |
| tree | d307dd92a194e9596c8bf411c97da2ec1facc41e /distutils2/command | |
| parent | 58d5e245ec21306380033c6d3e6d0c860b6f2dc4 (diff) | |
| download | disutils2-6b181d2a0fb465faf6402cdda337fbfeda93207e.tar.gz | |
Remove obsolete mentions of the compress program and .Z archives.
d2 uses the shutil.make_archive function (moved from distutils),
which does not support compress. There is no test to check that
?bdist --format whatever? works, so this slipped by.
Diffstat (limited to 'distutils2/command')
| -rw-r--r-- | distutils2/command/bdist.py | 3 | ||||
| -rw-r--r-- | distutils2/command/bdist_dumb.py | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/distutils2/command/bdist.py b/distutils2/command/bdist.py index d45842a..0a39fb1 100644 --- a/distutils2/command/bdist.py +++ b/distutils2/command/bdist.py @@ -64,13 +64,12 @@ class bdist(Command): 'os2': 'zip'} # Establish the preferred order (for the --help-formats option). - format_commands = ['gztar', 'bztar', 'ztar', 'tar', + format_commands = ['gztar', 'bztar', 'tar', 'wininst', 'zip', 'msi'] # And the real information. format_command = {'gztar': ('bdist_dumb', "gzip'ed tar file"), 'bztar': ('bdist_dumb', "bzip2'ed tar file"), - 'ztar': ('bdist_dumb', "compressed tar file"), 'tar': ('bdist_dumb', "tar file"), 'wininst': ('bdist_wininst', "Windows executable installer"), diff --git a/distutils2/command/bdist_dumb.py b/distutils2/command/bdist_dumb.py index b15e743..b512c6a 100644 --- a/distutils2/command/bdist_dumb.py +++ b/distutils2/command/bdist_dumb.py @@ -5,8 +5,8 @@ sys.prefix or sys.exec_prefix. """ import os - from shutil import rmtree + from distutils2.util import get_platform from distutils2.command.cmd import Command from distutils2.errors import PackagingPlatformError @@ -24,7 +24,7 @@ class bdist_dumb(Command): "platform name to embed in generated filenames " "(default: %s)" % get_platform()), ('format=', 'f', - "archive format to create (tar, ztar, gztar, zip)"), + "archive format to create (tar, gztar, bztar, zip)"), ('keep-temp', 'k', "keep the pseudo-installation tree around after " + "creating the distribution archive"), |
