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 64
64
int (get_build_version () * 10 ) % 10
65
65
)
66
66
try :
67
- os .environ [vscomntools_env ] = os .environ ['VS110COMNTOOLS ' ]
67
+ os .environ [vscomntools_env ] = os .environ ['VS120COMNTOOLS ' ]
68
68
except KeyError :
69
- distutils .log .warn ('You probably need Visual Studio 2012 (11 .0) '
69
+ distutils .log .warn ('You probably need Visual Studio 2013 (12 .0) '
70
70
'or higher' )
71
71
from distutils import msvccompiler , msvc9compiler
72
- if msvccompiler .get_build_version () < 11 .0 :
73
- msvccompiler .get_build_version = lambda : 11 .0
74
- if get_build_version () < 11 .0 :
75
- msvc9compiler .get_build_version = lambda : 11 .0
76
- msvc9compiler .VERSION = 11 .0
72
+ if msvccompiler .get_build_version () < 12 .0 :
73
+ msvccompiler .get_build_version = lambda : 12 .0
74
+ if get_build_version () < 12 .0 :
75
+ msvc9compiler .get_build_version = lambda : 12 .0
76
+ msvc9compiler .VERSION = 12 .0
77
77
# Workaround http://bugs.python.org/issue4431 under Python <= 2.6
78
78
if sys .version_info < (2 , 7 ):
79
79
def spawn (self , cmd ):
You can’t perform that action at this time.
0 commit comments