MSVCCompiler object has no attribute 'compiler'
Unable to build latest pygobject on Windows with pip install due to:
cache_key = compiler.compiler[0]
AttributeError: 'MSVCCompiler' object has no attribute 'compiler'
The change in commit, snippet below, seems to be the reason, where I assume compiler
is an attribute on Linux but not Windows.
...
+ def add_ext_warn_flags(ext, compiler, _cache={}):
+ cache_key = compiler.compiler[0]
+ if cache_key not in _cache:
...
Testing with 3.28.0 doesn't show the error.