Detect MSYS2 from Python20 September, 2020To detect if running under MSYS2 Python, check the parameters described in this GitHub Issue.