summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2020-10-27 12:14:48 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2020-10-27 12:14:48 +0100
commit376ec91241b5b7e34b94a62670d0a2ea6a04fa6d (patch)
tree0a768e262d75059794e42c1b3651739e623f8938
parent14b1cfb446e2ce2d1439f9ca5aa2c48bb2e54576 (diff)
downloadpsycopg2-376ec91241b5b7e34b94a62670d0a2ea6a04fa6d.tar.gz
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
-rwxr-xr-xscripts/appveyor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/appveyor.py b/scripts/appveyor.py
index 824ba6b..e3f5e1f 100755
--- a/scripts/appveyor.py
+++ b/scripts/appveyor.py
@@ -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]