Steve Dower <steve.do...@python.org> added the comment:

Hi Lin, please look me up on Teams and we can chat about this. I haven't heard 
about this effort and I'd love to know what you're working on.

---

The last error is because the VS Setup team has never updated their package to 
include v142 libs 
(https://www.nuget.org/packages/Microsoft.VisualStudio.Setup.Configuration.Native/)

If you're prepared to make modifications, then it's probably easiest to 
backport the change we made in Python 3.7 to shell out to vswhere.exe instead 
of directly enumerating installs. See Lib/distutils/_msvccompiler.py (it's 
probably safe to take the entire file and just remove the 
_distutils_findvs.vcxproj project).

Or if you know that the .lib format is compatible, you could update the 
AdditionalLibraryDirectories value in _distutils_findvs.vcxproj to not use 
$(PlatformToolset) and just specify v141.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39952>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to