##// END OF EJS Templates
setup: handle removal of old MSVC compiler from setuptools 65.0 (issue6910)...
Matt Harbison -
r52726:6388fd85 stable
parent child Browse files
Show More
@@ -1662,7 +1662,11 b" if os.name == 'nt':"
1662 # Allow compiler/linker flags to be added to Visual Studio builds. Passing
1662 # Allow compiler/linker flags to be added to Visual Studio builds. Passing
1663 # extra_link_args to distutils.extensions.Extension() doesn't have any
1663 # extra_link_args to distutils.extensions.Extension() doesn't have any
1664 # effect.
1664 # effect.
1665 from distutils import msvccompiler
1665 try:
1666 # setuptools < 65.0
1667 from distutils import msvccompiler
1668 except ImportError:
1669 from distutils import _msvccompiler as msvccompiler
1666
1670
1667 msvccompilerclass = msvccompiler.MSVCCompiler
1671 msvccompilerclass = msvccompiler.MSVCCompiler
1668
1672
General Comments 0
You need to be logged in to leave comments. Login now