Configure build on VS 2019 for Python 3.9 on appveyor

It appears to be needed, according to [1], although at the moment the
executable is not found yet.

[1]: https://www.appveyor.com/docs/windows-images-software/#python
This commit is contained in:
Daniele Varrazzo 2020-10-27 12:14:48 +01:00
parent 14b1cfb446
commit 376ec91241

View File

@ -770,9 +770,11 @@ class Options:
@property
def vs_ver(self):
# https://wiki.python.org/moin/WindowsCompilers
# https://www.appveyor.com/docs/windows-images-software/#python
# Py 2.7 = VS Ver. 9.0 (VS 2008)
# Py 3.3, 3.4 = VS Ver. 10.0 (VS 2010)
# Py 3.5--3.8 = VS Ver. 14.0 (VS 2015)
# Py 3.9 = VS Ver. 16.0 (VS 2019)
vsvers = {
'27': '9.0',
'33': '10.0',
@ -781,6 +783,7 @@ class Options:
'36': '14.0',
'37': '14.0',
'38': '14.0',
'39': '16.0',
}
return vsvers[self.py_ver]