Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3612d04

Browse files
author
stonebig
committed
supporting Python-3.7 alpha (first try)
1 parent 65acce9 commit 3612d04

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ def make(self, remove_existing=True, requirements=None, my_winpydir=None): #, f
11401140
print("WARNING: this is just a simulation!", file=sys.stderr)
11411141

11421142
self.python_fname = self.get_package_fname(
1143-
r'python-([0-9\.rcb]*)((\.|\-)amd64)?\.(msi|zip)')
1143+
r'python-([0-9\.rcba]*)((\.|\-)amd64)?\.(msi|zip)')
11441144
self.python_name = osp.basename(self.python_fname)[:-4]
11451145
distname = 'win%s' % self.python_name
11461146
vlst = re.match(r'winpython-([0-9\.]*)', distname

winpython/disthelpers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ def get_msvc_version(python_version):
121121
return '10.0'
122122
elif python_version in ('3.5', '3.6'):
123123
return '15.0'
124+
elif python_version in ('3.7', '3.8'):
125+
return '15.0'
124126
else:
125127
raise RuntimeError("Unsupported Python version %s" % python_version)
126128

0 commit comments

Comments
 (0)