File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 52
52
int (get_build_version () * 10 ) % 10
53
53
)
54
54
try :
55
- os .environ [vscomntools_env ] = os .environ ['VS120COMNTOOLS ' ]
55
+ os .environ [vscomntools_env ] = os .environ ['VS140COMNTOOLS ' ]
56
56
except KeyError :
57
- distutils .log .warn ('You probably need Visual Studio 2013 (12 .0) '
57
+ distutils .log .warn ('You probably need Visual Studio 2015 (14 .0) '
58
58
'or higher' )
59
59
from distutils import msvccompiler , msvc9compiler
60
- if msvccompiler .get_build_version () < 12 .0 :
61
- msvccompiler .get_build_version = lambda : 12 .0
62
- if get_build_version () < 12 .0 :
63
- msvc9compiler .get_build_version = lambda : 12 .0
64
- msvc9compiler .VERSION = 12 .0
60
+ if msvccompiler .get_build_version () < 14 .0 :
61
+ msvccompiler .get_build_version = lambda : 14 .0
62
+ if get_build_version () < 14 .0 :
63
+ msvc9compiler .get_build_version = lambda : 14 .0
64
+ msvc9compiler .VERSION = 14 .0
65
65
# Workaround http://bugs.python.org/issue4431 under Python <= 2.6
66
66
if sys .version_info < (2 , 7 ):
67
67
def spawn (self , cmd ):
You can’t perform that action at this time.
0 commit comments