MCPcopy Create free account
hub / github.com/numpy/numpy / mingw32

Function mingw32

numpy/distutils/misc_util.py:423–431  ·  view source on GitHub ↗

Return true when using mingw32 environment.

()

Source from the content-addressed store, hash-verified

421
422
423def mingw32():
424 """Return true when using mingw32 environment.
425 """
426 if sys.platform=='win32':
427 if os.environ.get('OSTYPE', '')=='msys':
428 return True
429 if os.environ.get('MSYSTEM', '')=='MINGW32':
430 return True
431 return False
432
433def msvc_runtime_version():
434 "Return version of MSVC runtime library, as defined by __MSC_VER__ macro"

Callers 2

ccompiler.pyFile · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected