Pulling Mark Alexander's contribution from CVS.

This commit is contained in:
Marc-André Lemburg 2002-10-04 09:30:06 +00:00
parent a7a76d3d9e
commit c7cdd7182a
5 changed files with 14 additions and 948 deletions

View file

@ -52,7 +52,9 @@ class bdist (Command):
]
# The following commands do not take a format option from bdist
no_format_option = ('bdist_rpm', 'bdist_sdux', 'bdist_pkgtool')
no_format_option = ('bdist_rpm',
#'bdist_sdux', 'bdist_pkgtool'
)
# This won't do in reality: will need to distinguish RPM-ish Linux,
# Debian-ish Linux, Solaris, FreeBSD, ..., Windows, Mac OS.
@ -62,20 +64,23 @@ class bdist (Command):
# Establish the preferred order (for the --help-formats option).
format_commands = ['rpm', 'gztar', 'bztar', 'ztar', 'tar',
'wininst', 'zip', 'pkgtool', 'sdux']
'wininst', 'zip',
#'pkgtool', 'sdux'
]
# And the real information.
format_command = { 'rpm': ('bdist_rpm', "RPM distribution"),
'zip': ('bdist_dumb', "ZIP file"), 'gztar': ('bdist_dumb', "gzip'ed tar file"),
'zip': ('bdist_dumb', "ZIP file"),
'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"),
'zip': ('bdist_dumb', "ZIP file"),
'pkgtool': ('bdist_pkgtool',
"Solaris pkgtool distribution"),
'sdux': ('bdist_sdux', "HP-UX swinstall depot"),
#'pkgtool': ('bdist_pkgtool',
# "Solaris pkgtool distribution"),
#'sdux': ('bdist_sdux', "HP-UX swinstall depot"),
}