summaryrefslogtreecommitdiff
path: root/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
commit495e4bf6c1029b10cab8fa83ce28caf7011d0955 (patch)
treebad0b02d79f0ca485a7ab75a4d9e6257a5ea8dfd /command/bdist_dumb.py
parentff6785063112982ccd38892d21859b8a8a45318a (diff)
downloadpython-setuptools-git-495e4bf6c1029b10cab8fa83ce28caf7011d0955.tar.gz
Closes #16135: Removal of OS/2 support (distutils)
Diffstat (limited to 'command/bdist_dumb.py')
-rw-r--r--command/bdist_dumb.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/command/bdist_dumb.py b/command/bdist_dumb.py
index 1ab09d16..eefdfea5 100644
--- a/command/bdist_dumb.py
+++ b/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