mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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!
This commit is contained in:
parent
1169687692
commit
9d17a7ad6d
8 changed files with 107 additions and 25 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue