Skip to content

Commit 129480b

Browse files
committed
⚫ Fade to black.
1 parent 17626c4 commit 129480b

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

distutils/command/bdist.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,19 @@ class bdist(Command):
7171
default_format = {'posix': 'gztar', 'nt': 'zip'}
7272

7373
# Define commands in preferred order for the --help-formats option
74-
format_commands = ListCompat({
75-
'rpm': ('bdist_rpm', "RPM distribution"),
76-
'gztar': ('bdist_dumb', "gzip'ed tar file"),
77-
'bztar': ('bdist_dumb', "bzip2'ed tar file"),
78-
'xztar': ('bdist_dumb', "xz'ed tar file"),
79-
'ztar': ('bdist_dumb', "compressed tar file"),
80-
'tar': ('bdist_dumb', "tar file"),
81-
'wininst': ('bdist_wininst', "Windows executable installer"),
82-
'zip': ('bdist_dumb', "ZIP file"),
83-
'msi': ('bdist_msi', "Microsoft Installer"),
84-
})
74+
format_commands = ListCompat(
75+
{
76+
'rpm': ('bdist_rpm', "RPM distribution"),
77+
'gztar': ('bdist_dumb', "gzip'ed tar file"),
78+
'bztar': ('bdist_dumb', "bzip2'ed tar file"),
79+
'xztar': ('bdist_dumb', "xz'ed tar file"),
80+
'ztar': ('bdist_dumb', "compressed tar file"),
81+
'tar': ('bdist_dumb', "tar file"),
82+
'wininst': ('bdist_wininst', "Windows executable installer"),
83+
'zip': ('bdist_dumb', "ZIP file"),
84+
'msi': ('bdist_msi', "Microsoft Installer"),
85+
}
86+
)
8587

8688
# for compatibility until Setuptools references only format_commands
8789
format_command = format_commands

distutils/cygwinccompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def get_msvcr():
104104
_runtime_library_dirs_msg = (
105105
"Unable to set runtime library search path on Windows, "
106106
"usually indicated by `runtime_library_dirs` parameter to Extension"
107-
)
107+
)
108108

109109

110110
class CygwinCCompiler(UnixCCompiler):

distutils/unixccompiler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,8 @@ def _library_root(dir):
350350

351351
apply_root = (
352352
sys.platform == 'darwin'
353-
and match and (
353+
and match
354+
and (
354355
dir.startswith('/System/')
355356
or (dir.startswith('/usr/') and not dir.startswith('/usr/local/'))
356357
)

0 commit comments

Comments
 (0)