Fix exception on mingw built Python 2
The exception is caused by the VCForPython27 monkey patch. It's not needed on mingw built Python. Disable it and avoid the import by using the same function that `distutils` uses to decide it's running on a mingw built Python. Fixes #1118
Showing
Please register or sign in to comment