mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Fix Flake8
This commit is contained in:
parent
1b91ae361d
commit
a0b15e84d7
|
@ -258,15 +258,16 @@ copy /Y /B %%LCMS%%\Lib\MS\*.lib %%INCLIB%%
|
||||||
endlocal
|
endlocal
|
||||||
""" % compiler # noqa: E501
|
""" % compiler # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
def build_ghostscript(compiler, bit):
|
def build_ghostscript(compiler, bit):
|
||||||
script = r"""
|
script = r"""
|
||||||
rem Build gs
|
rem Build gs
|
||||||
setlocal
|
setlocal
|
||||||
""" + vc_setup(compiler, bit) + r"""
|
""" + vc_setup(compiler, bit) + r"""
|
||||||
set MSVC_VERSION=""" + {
|
set MSVC_VERSION=""" + {
|
||||||
"2008": "9",
|
"2008": "9",
|
||||||
"2015": "14"
|
"2015": "14"
|
||||||
}[compiler['vc_version']] + r"""
|
}[compiler['vc_version']] + r"""
|
||||||
set RCOMP="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\RC.Exe"
|
set RCOMP="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\RC.Exe"
|
||||||
cd /D %%GHOSTSCRIPT%%
|
cd /D %%GHOSTSCRIPT%%
|
||||||
"""
|
"""
|
||||||
|
@ -281,6 +282,7 @@ endlocal
|
||||||
"""
|
"""
|
||||||
return script % compiler # noqa: E501
|
return script % compiler # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
def add_compiler(compiler, bit):
|
def add_compiler(compiler, bit):
|
||||||
script.append(setup_compiler(compiler))
|
script.append(setup_compiler(compiler))
|
||||||
script.append(nmake_libs(compiler, bit))
|
script.append(nmake_libs(compiler, bit))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user