summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/bdist_dumb.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-11 01:20:12 +0200
committerJesus Cea <jcea@jcea.es>2012-10-11 01:20:12 +0200
commitd17833d360a7e35675233c4310cbccbd19c9ca79 (patch)
treef0616a9a4cd16aef3952c6915049196c9c7853fe /Lib/distutils/command/bdist_dumb.py
parent9407d502085d0e3d281eb5274149ebca4567034c (diff)
downloadcpython-git-d17833d360a7e35675233c4310cbccbd19c9ca79.tar.gz
Closes #16135: Removal of OS/2 support (distutils)
Diffstat (limited to 'Lib/distutils/command/bdist_dumb.py')
-rw-r--r--Lib/distutils/command/bdist_dumb.py8
1 files changed, 1 insertions, 7 deletions
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