Skip to content

Commit ac1f526

Browse files
author
stonebig
committed
initial handling of python >3.4
1 parent d2b8331 commit ac1f526

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

winpython/disthelpers.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ def get_msvc_version(python_version):
119119
# Python 3.3+ were built with Visual Studio 10.0.30319.1
120120
# (i.e. Visual C++ 2010)
121121
return '10.0'
122-
else:
122+
elif python_version in ('3.5', '3.6'):
123+
return '15.0'
124+
else:
123125
raise RuntimeError("Unsupported Python version %s" % python_version)
124126

125127
def get_msvc_dlls(msvc_version, architecture=None):
@@ -134,6 +136,10 @@ def get_msvc_dlls(msvc_version, architecture=None):
134136

135137
filelist = []
136138

139+
# simple vs2015 situation: nothing (system dll)
140+
if msvc_version == '15.0':
141+
return filelist
142+
137143
msvc_major = msvc_version.split('.')[0]
138144
msvc_minor = msvc_version.split('.')[1]
139145

0 commit comments

Comments
 (0)