Home
last modified time | relevance | path

Searched refs:get_platform (Results 1 – 25 of 34) sorted by relevance

12

/third_party/python/Lib/distutils/tests/
Dtest_util.py10 from distutils.util import (get_platform, convert_path, change_root,
74 self.assertEqual(get_platform(), 'win32')
81 self.assertEqual(get_platform(), 'win-amd64')
101 self.assertEqual(get_platform(), 'macosx-10.3-i386')
113 self.assertEqual(get_platform(), 'macosx-10.4-fat')
117 self.assertEqual(get_platform(), 'macosx-10.4-fat')
126 self.assertEqual(get_platform(), 'macosx-10.4-intel')
133 self.assertEqual(get_platform(), 'macosx-10.4-fat3')
140 self.assertEqual(get_platform(), 'macosx-10.4-universal')
148 self.assertEqual(get_platform(), 'macosx-10.4-fat64')
[all …]
Dtest_build.py9 from sysconfig import get_platform
21 self.assertEqual(cmd.plat_name, get_platform())
/third_party/python/Lib/test/
Dtest_sysconfig.py15 from sysconfig import (get_paths, get_platform, get_config_vars,
149 self.assertEqual(get_platform(), 'win32')
156 self.assertEqual(get_platform(), 'win-amd64')
176 self.assertEqual(get_platform(), 'macosx-10.3-ppc')
178 self.assertEqual(get_platform(), 'macosx-10.3-ppc64')
194 self.assertEqual(get_platform(), 'macosx-10.3-i386')
196 self.assertEqual(get_platform(), 'macosx-10.3-x86_64')
208 self.assertEqual(get_platform(), 'macosx-10.4-fat')
216 self.assertEqual(get_platform(), 'macosx-10.4-intel')
223 self.assertEqual(get_platform(), 'macosx-10.4-fat3')
[all …]
/third_party/python/Lib/distutils/command/
Dbdist.py9 from distutils.util import get_platform
32 "(default: %s)" % get_platform()),
92 self.plat_name = get_platform()
Dbuild.py8 from distutils.util import get_platform
36 "(default: %s)" % get_platform()),
74 self.plat_name = get_platform()
Dbdist_dumb.py9 from distutils.util import get_platform
23 "(default: %s)" % get_platform()),
Dbuild_ext.py17 from distutils.util import get_platform
63 "(default: %s)" % get_platform()),
314 if os.name == 'nt' and self.plat_name != get_platform():
Dinstall.py17 from distutils.util import get_platform
574 if self.warn_dir and build_plat != get_platform():
Dbdist_msi.py15 from distutils.util import get_platform
91 "(default: %s)" % get_platform()),
/third_party/python/Doc/includes/
Dtest.py192 from distutils.util import get_platform
193 PLAT_SPEC = "%s-%d.%d" % (get_platform(), *sys.version_info[:2])
/third_party/python/Lib/test/test_importlib/
Dtest_windows.py21 def get_platform(): function
120 re.sub('[^a-zA-Z0-9]', '_', get_platform()))
/third_party/PyYAML/tests/lib/
Dtest_build_ext.py6 …build_lib_ext = os.path.join('build', 'lib.{}-{}.{}'.format(distutils.util.get_platform(), *sys.ve…
Dtest_build.py5 …build_lib_ext = os.path.join('build', 'lib.{}-{}.{}'.format(distutils.util.get_platform(), *sys.ve…
/third_party/python/Lib/distutils/
Dmsvc9compiler.py24 from distutils.util import get_platform
343 plat_name = get_platform()
363 if plat_name == get_platform() or plat_name == 'win32':
368 plat_spec = PLAT_TO_VCVARS[get_platform()] + '_' + \
Dutil.py99 def get_platform(): function
183 os.environ['PLAT'] = get_platform()
D_msvccompiler.py24 from distutils.util import get_platform
211 plat_name = get_platform()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
D_musllinux.py76 plat = sysconfig.get_platform()
Dtags.py472 linux = _normalize_string(sysconfig.get_platform())
491 yield _normalize_string(sysconfig.get_platform())
/third_party/skia/third_party/externals/brotli/python/tests/
D_test_utils.py23 platform=sysconfig.get_platform(), version=sys.version_info)
/third_party/protobuf/python/
Dsetup.py203 util.get_platform())
/third_party/python/Doc/library/
Dsysconfig.rst209 .. function:: get_platform()
297 :func:`get_platform`, :func:`get_python_version`, :func:`get_path` and
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/
Dconfig.pm1022 sub get_platform { subroutine
/third_party/openssl/util/perl/OpenSSL/
Dconfig.pm1014 sub get_platform { subroutine
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch657 + 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')
[all …]
/third_party/python/Lib/
Dsysconfig.py670 def get_platform(): function

12