diff options
author | Greg Ward <gward@python.net> | 2000-06-07 03:00:06 +0000 |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-06-07 03:00:06 +0000 |
commit | 9d17a7ad6df0a940f8f10cf7a113aaffc4222309 (patch) | |
tree | 825174ee769bf6ab27252f9a2965ed2b81680fb5 /Lib/distutils/archive_util.py | |
parent | 1169687692e5e897033421fe6a73a3c32675a7d7 (diff) | |
download | cpython-git-9d17a7ad6df0a940f8f10cf7a113aaffc4222309.tar.gz |
Patch from Rene Liebscher: this adds "--help-foo" options to list the
values that "--foo" can take for various commands: eg. what formats for
"sdist" and "bdist", what compilers for "build_ext" and "build_clib".
I have *not* reviewed this patch; I'm checking it in as-is because it also
fixes a paper-bag-over-head bug in bdist.py, and because I won't have
time to review it properly for several days: so someone else can
test it for me, instead!
Diffstat (limited to 'Lib/distutils/archive_util.py')
-rw-r--r-- | Lib/distutils/archive_util.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/distutils/archive_util.py b/Lib/distutils/archive_util.py index 3159c284e4..27aa8c0bfc 100644 --- a/Lib/distutils/archive_util.py +++ b/Lib/distutils/archive_util.py @@ -110,11 +110,11 @@ def make_zipfile (base_name, base_dir, verbose=0, dry_run=0): ARCHIVE_FORMATS = { - 'gztar': (make_tarball, [('compress', 'gzip')]), - 'bztar': (make_tarball, [('compress', 'bzip2')]), - 'ztar': (make_tarball, [('compress', 'compress')]), - 'tar': (make_tarball, [('compress', None)]), - 'zip': (make_zipfile, []) + 'gztar': (make_tarball, [('compress', 'gzip')],"gzipped tar-file"), + 'bztar': (make_tarball, [('compress', 'bzip2')],"bzip2-ed tar-file"), + 'ztar': (make_tarball, [('compress', 'compress')],"compressed tar-file"), + 'tar': (make_tarball, [('compress', None)],"uncompressed tar-file"), + 'zip': (make_zipfile, [],"zip-file") } def check_archive_formats (formats): |