mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 09:29:46 +03:00
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:
parent
14b1cfb446
commit
376ec91241
|
@ -770,9 +770,11 @@ class Options:
|
||||||
@property
|
@property
|
||||||
def vs_ver(self):
|
def vs_ver(self):
|
||||||
# https://wiki.python.org/moin/WindowsCompilers
|
# 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 2.7 = VS Ver. 9.0 (VS 2008)
|
||||||
# Py 3.3, 3.4 = VS Ver. 10.0 (VS 2010)
|
# Py 3.3, 3.4 = VS Ver. 10.0 (VS 2010)
|
||||||
# Py 3.5--3.8 = VS Ver. 14.0 (VS 2015)
|
# Py 3.5--3.8 = VS Ver. 14.0 (VS 2015)
|
||||||
|
# Py 3.9 = VS Ver. 16.0 (VS 2019)
|
||||||
vsvers = {
|
vsvers = {
|
||||||
'27': '9.0',
|
'27': '9.0',
|
||||||
'33': '10.0',
|
'33': '10.0',
|
||||||
|
@ -781,6 +783,7 @@ class Options:
|
||||||
'36': '14.0',
|
'36': '14.0',
|
||||||
'37': '14.0',
|
'37': '14.0',
|
||||||
'38': '14.0',
|
'38': '14.0',
|
||||||
|
'39': '16.0',
|
||||||
}
|
}
|
||||||
return vsvers[self.py_ver]
|
return vsvers[self.py_ver]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user