From d17833d360a7e35675233c4310cbccbd19c9ca79 Mon Sep 17 00:00:00 2001 From: Jesus Cea Date: Thu, 11 Oct 2012 01:20:12 +0200 Subject: Closes #16135: Removal of OS/2 support (distutils) --- Lib/distutils/command/bdist_dumb.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Lib/distutils/command/bdist_dumb.py') diff --git a/Lib/distutils/command/bdist_dumb.py b/Lib/distutils/command/bdist_dumb.py index 1ab09d1616..eefdfea5ad 100644 --- a/Lib/distutils/command/bdist_dumb.py +++ b/Lib/distutils/command/bdist_dumb.py @@ -38,8 +38,7 @@ class bdist_dumb(Command): boolean_options = ['keep-temp', 'skip-build', 'relative'] default_format = { 'posix': 'gztar', - 'nt': 'zip', - 'os2': 'zip' } + 'nt': 'zip' } def initialize_options(self): self.bdist_dir = None @@ -85,11 +84,6 @@ class bdist_dumb(Command): archive_basename = "%s.%s" % (self.distribution.get_fullname(), self.plat_name) - # OS/2 objects to any ":" characters in a filename (such as when - # a timestamp is used in a version) so change them to hyphens. - if os.name == "os2": - archive_basename = archive_basename.replace(":", "-") - pseudoinstall_root = os.path.join(self.dist_dir, archive_basename) if not self.relative: archive_root = self.bdist_dir -- cgit v1.2.1