mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Closes #16135: Removal of OS/2 support (distutils)
This commit is contained in:
parent
9407d50208
commit
d17833d360
12 changed files with 7 additions and 425 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue