You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It uses UnixCCompiler instead while compiling on that platform.
$ python -c 'import distutils.ccompiler as a; print(a.new_compiler())'<distutils.unixccompiler.UnixCCompiler object at 0x6ffffff07c10>
I think the below line should be changed to cygwin instead of unix to use the correct compiler classes. Not sure why it was set to unix though. (and the blame is 22 years old, so no idea e49a115)
While working on #184 I found that
CygwinCCompiler
is never used. If it was used it should be failing withTypeError
as there's something wrong withget_msvcr
(it shouldn't be returningNone
, https://github.com/pypa/distutils/pull/184/files#r1008651830).It uses
UnixCCompiler
instead while compiling on that platform.I think the below line should be changed to
cygwin
instead ofunix
to use the correct compiler classes. Not sure why it was set tounix
though. (and the blame is 22 years old, so no idea e49a115)distutils/distutils/ccompiler.py
Line 1024 in 6c39b50
The text was updated successfully, but these errors were encountered: