We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 166b007 commit c774dd8Copy full SHA for c774dd8
setup.py
@@ -807,12 +807,11 @@ def build_mupdf_windows(
807
devenv = os.environ.get('PYMUPDF_SETUP_DEVENV')
808
if not devenv:
809
try:
810
- # Prefer VS-2019 as that is what MuPDF's project/solution files are
811
- # written for.
812
- log(f'Looking for Visual Studio 2019.')
813
- vs = pipcl.wdev.WindowsVS(year=2019)
+ # Prefer VS-2022 as that is what Github provide in windows-2022.
+ log(f'Looking for Visual Studio 2022.')
+ vs = pipcl.wdev.WindowsVS(year=2022)
814
except Exception as e:
815
- log(f'Failed to find VS-2019:\n'
+ log(f'Failed to find VS-2022:\n'
816
f'{textwrap.indent(traceback.format_exc(), " ")}'
817
)
818
log(f'Looking for any Visual Studio.')
0 commit comments