mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Add VC 2019 path location
This commit is contained in:
parent
7cd7b97d5d
commit
ec39e1e406
|
@ -763,10 +763,16 @@ class Options:
|
|||
"""
|
||||
The path of the Visual C compiler.
|
||||
"""
|
||||
return Path(
|
||||
if self.vs_ver == '16.0':
|
||||
path = Path(
|
||||
r"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build"
|
||||
)
|
||||
else:
|
||||
path = Path(
|
||||
r"C:\Program Files (x86)\Microsoft Visual Studio %s\VC"
|
||||
% self.vs_ver
|
||||
)
|
||||
return path
|
||||
|
||||
@property
|
||||
def vs_ver(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user