Lines Matching refs:get_platform
657 + if sysconfig.get_platform().startswith('mingw'):
671 +from distutils.util import split_quoted, execute, get_platform
679 + if get_platform().startswith('mingw'):
763 …y_version_short_plat': f'{sys.version_info[0]}.{sys.version_info[1]}-{get_platform()}' if os.name …
1563 +# Copy of sysconfig.get_platform() but only for MinGW
1807 + _CONFIG_VARS['py_version_short_plat'] = f'{_PY_VERSION_SHORT}-{get_platform()}'
1834 def get_platform():
1837 @@ -689,6 +725,22 @@ def get_platform():
2129 …ON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platfo…
10811 +_UCRT = sysconfig.get_platform() not in ('mingw_x86_64', 'mingw_i686')
10982 + self.assertTrue(sysconfig.get_platform().startswith("mingw"))
10991 + if sysconfig.get_platform().startswith('mingw_i686'):
10993 + elif sysconfig.get_platform().startswith('mingw_aarch64'):
10995 + elif sysconfig.get_platform().startswith('mingw_armv7'):
11138 @@ -79,9 +79,20 @@ def get_platform():
11154 HOST_PLATFORM = get_platform()