mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 08:14:10 +03:00
Expected 2 blank lines, found 1
This commit is contained in:
parent
94b3e53496
commit
d1f9803aeb
|
@ -72,6 +72,7 @@ def vc_setup(compiler, bit):
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %s""" % arch
|
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %s""" % arch
|
||||||
return script
|
return script
|
||||||
|
|
||||||
|
|
||||||
def build_one(py_ver, compiler, bit):
|
def build_one(py_ver, compiler, bit):
|
||||||
# UNDONE virtual envs if we're not running on appveyor
|
# UNDONE virtual envs if we're not running on appveyor
|
||||||
args = {}
|
args = {}
|
||||||
|
|
|
@ -165,11 +165,13 @@ def compiler_from_env():
|
||||||
bit = bit_from_env()
|
bit = bit_from_env()
|
||||||
return compilers[py_info['compiler']][py_info['vc']][bit]
|
return compilers[py_info['compiler']][py_info['vc']][bit]
|
||||||
|
|
||||||
|
|
||||||
def bit_from_env():
|
def bit_from_env():
|
||||||
py = os.environ['PYTHON']
|
py = os.environ['PYTHON']
|
||||||
|
|
||||||
return 64 if '64' in py else 32
|
return 64 if '64' in py else 32
|
||||||
|
|
||||||
|
|
||||||
def all_compilers():
|
def all_compilers():
|
||||||
all = []
|
all = []
|
||||||
for vc_compilers in compilers.values():
|
for vc_compilers in compilers.values():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user