Home
last modified time | relevance | path

Searched refs:get_config_var (Results 1 – 25 of 77) sorted by relevance

1234

/external/python/cpython3/Lib/distutils/tests/
Dtest_sysconfig.py49 srcdir = sysconfig.get_config_var('srcdir')
68 srcdir = sysconfig.get_config_var('srcdir')
72 srcdir2 = sysconfig.get_config_var('srcdir')
121 self.assertEqual(global_sysconfig.get_config_var('CFLAGS'),
122 sysconfig.get_config_var('CFLAGS'))
123 self.assertEqual(global_sysconfig.get_config_var('LDFLAGS'),
124 sysconfig.get_config_var('LDFLAGS'))
126 @unittest.skipIf(sysconfig.get_config_var('CUSTOMIZED_OSX_COMPILER'),
144 if sysconfig.get_config_var('CUSTOMIZED_OSX_COMPILER'):
146 self.assertEqual(global_sysconfig.get_config_var('LDSHARED'),
[all …]
Dtest_unixccompiler.py13 self._backup_get_config_var = sysconfig.get_config_var
21 sysconfig.get_config_var = self._backup_get_config_var
36 old_gcv = sysconfig.get_config_var
39 sysconfig.get_config_var = gcv
44 sysconfig.get_config_var = gcv
49 sysconfig.get_config_var = gcv
52 sysconfig.get_config_var = old_gcv
61 sysconfig.get_config_var = gcv
71 sysconfig.get_config_var = gcv
82 sysconfig.get_config_var = gcv
[all …]
Dsupport.py160 srcdir = sysconfig.get_config_var('srcdir')
198 elif sysconfig.get_config_var('Py_ENABLE_SHARED'):
202 runshared = sysconfig.get_config_var('RUNSHARED')
/external/python/cpython2/Lib/distutils/tests/
Dtest_unixccompiler.py14 self._backup_get_config_var = sysconfig.get_config_var
22 sysconfig.get_config_var = self._backup_get_config_var
37 old_gcv = sysconfig.get_config_var
40 sysconfig.get_config_var = gcv
45 sysconfig.get_config_var = gcv
50 sysconfig.get_config_var = gcv
53 sysconfig.get_config_var = old_gcv
70 sysconfig.get_config_var = gcv
80 sysconfig.get_config_var = gcv
91 sysconfig.get_config_var = gcv
[all …]
Dtest_sysconfig.py80 … self.assertEqual(global_sysconfig.get_config_var('CFLAGS'), sysconfig.get_config_var('CFLAGS'))
81 … self.assertEqual(global_sysconfig.get_config_var('LDFLAGS'), sysconfig.get_config_var('LDFLAGS'))
83 … @unittest.skipIf(sysconfig.get_config_var('CUSTOMIZED_OSX_COMPILER'),'compiler flags customized')
100 if sysconfig.get_config_var('CUSTOMIZED_OSX_COMPILER'):
102 …self.assertEqual(global_sysconfig.get_config_var('LDSHARED'), sysconfig.get_config_var('LDSHARED'))
103 self.assertEqual(global_sysconfig.get_config_var('CC'), sysconfig.get_config_var('CC'))
Dtest_build_ext.py299 sysconfig.get_config_var('SO'))
308 sysconfig.get_config_var('SO'))
378 ext = sysconfig.get_config_var("SO")
403 ext = sysconfig.get_config_var("SO")
417 ext = sysconfig.get_config_var("SO")
428 ext = sysconfig.get_config_var("SO")
454 deptarget = sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')
489 target = sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')
Dsupport.py170 srcdir = sysconfig.get_config_var('srcdir')
209 elif sysconfig.get_config_var('Py_ENABLE_SHARED'):
213 runshared = sysconfig.get_config_var('RUNSHARED')
/external/python/cpython3/Misc/
Dpython-config.in27 pyver = sysconfig.get_config_var('VERSION')
28 getvar = sysconfig.get_config_var
37 print(sysconfig.get_config_var('prefix'))
40 print(sysconfig.get_config_var('exec_prefix'))
63 print(sysconfig.get_config_var('EXT_SUFFIX'))
69 print(sysconfig.get_config_var('LIBPL'))
/external/python/cpython3/Lib/test/
Dtest_sysconfig.py15 get_scheme_names, get_config_var, _main)
272 base = get_config_var('base')
273 user = get_config_var('userbase')
299 ldflags = sysconfig.get_config_var('LDFLAGS')
300 ldshared = sysconfig.get_config_var('LDSHARED')
349 srcdir = sysconfig.get_config_var('srcdir')
369 srcdir = sysconfig.get_config_var('srcdir')
371 srcdir2 = sysconfig.get_config_var('srcdir')
374 @unittest.skipIf(sysconfig.get_config_var('EXT_SUFFIX') is None,
378 sysconfig.get_config_var, 'SO')
[all …]
/external/python/cpython3/
Dsetup.py25 flags = sysconfig.get_config_var(compiler_flags)
26 py_flags_nodist = sysconfig.get_config_var(compiler_py_flags_nodist)
48 COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
79 var = sysconfig.get_config_var(var_name)
98 cflags = sysconfig.get_config_var('CFLAGS')
247 srcdir = sysconfig.get_config_var('srcdir')
265 sysconf_built = sysconfig.get_config_var('MODBUILT_NAMES').split()
266 sysconf_dis = sysconfig.get_config_var('MODDISABLED_NAMES').split()
469 cc = sysconfig.get_config_var('CC')
494 opt = '-t' + sysconfig.get_config_var('HOST_GNU_TYPE')
[all …]
/external/python/setuptools/setuptools/
Dpep425tags.py20 def get_config_var(var): function
22 return sysconfig.get_config_var(var)
43 impl_ver = get_config_var("py_version_nodot")
70 val = get_config_var(var)
82 soabi = get_config_var('SOABI')
/external/python/cpython2/
Dsetup.py33 COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
50 cflags = sysconfig.get_config_var('CFLAGS')
207 sysconfig.get_config_var("CONFIG_ARGS")):
381 cc = sysconfig.get_config_var('CC')
406 opt = '-t' + sysconfig.get_config_var('HOST_GNU_TYPE')
425 gcc = sysconfig.get_config_var('CC')
475 env_val = sysconfig.get_config_var(env_var)
500 and not sysconfig.get_config_var('PYTHONFRAMEWORK'):
506 sysconfig.get_config_var("LIBDIR"))
508 sysconfig.get_config_var("INCLUDEDIR"))
[all …]
/external/python/cpython2/Lib/distutils/command/
Dbuild_scripts.py104 _sysconfig.get_config_var("BINDIR"),
105 "python%s%s" % (_sysconfig.get_config_var("VERSION"),
106 _sysconfig.get_config_var("EXE"))),
Dbuild_ext.py240 if (sysconfig.get_config_var('Py_ENABLE_SHARED')):
243 self.library_dirs.append(sysconfig.get_config_var('LIBDIR'))
671 from distutils.sysconfig import get_config_var
677 so_ext = get_config_var('SO')
744 for lib in sysconfig.get_config_var('SHLIBS').split():
761 if sysconfig.get_config_var('Py_ENABLE_SHARED'):
/external/python/cpython3/Lib/distutils/command/
Dbuild_scripts.py103 sysconfig.get_config_var("BINDIR"),
104 "python%s%s" % (sysconfig.get_config_var("VERSION"),
105 sysconfig.get_config_var("EXE")))
Dbuild_ext.py234 if (sysconfig.get_config_var('Py_ENABLE_SHARED')):
237 self.library_dirs.append(sysconfig.get_config_var('LIBDIR'))
680 from distutils.sysconfig import get_config_var
682 ext_suffix = get_config_var('EXT_SUFFIX')
727 if sysconfig.get_config_var('Py_ENABLE_SHARED'):
730 sysconfig.get_config_var('ABIFLAGS'))
/external/python/setuptools/setuptools/tests/
Dtest_build_ext.py3 from distutils.sysconfig import get_config_var
41 assert res.endswith(get_config_var('SO'))
Dtest_wheel.py6 from distutils.sysconfig import get_config_var
124 shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO'))
/external/python/cpython2/Misc/
Dpython-config.in24 pyver = sysconfig.get_config_var('VERSION')
25 getvar = sysconfig.get_config_var
/external/python/cpython2/Lib/
Dsite.py234 from sysconfig import get_config_var
235 USER_BASE = get_config_var('userbase')
254 from sysconfig import get_config_var
255 if get_config_var('PYTHONFRAMEWORK'):
/external/python/cpython3/Lib/distutils/
Dunixccompiler.py234 compiler = os.path.basename(sysconfig.get_config_var("CC"))
250 if sysconfig.get_config_var("GNULD") == "yes":
290 cflags = sysconfig.get_config_var('CFLAGS')
/external/python/cpython2/Lib/test/
Dtest_sysconfig.py16 get_scheme_names, get_config_var)
273 base = get_config_var('base')
274 user = get_config_var('userbase')
/external/python/cpython2/Lib/distutils/
Dsysconfig.py89 get_config_var('srcdir')))
169 if not get_config_var('CUSTOMIZED_OSX_COMPILER'):
478 def get_config_var(name): function
/external/python/setuptools/setuptools/command/
Dbuild_ext.py8 from distutils.sysconfig import customize_compiler, get_config_var
25 get_config_var("LDSHARED")
331 return get_config_var(name)
/external/python/cpython2/Doc/library/
Dsysconfig.rst29 can be accessed using :func:`get_config_vars` or :func:`get_config_var`.
44 .. function:: get_config_var(name)
54 >>> sysconfig.get_config_var('Py_ENABLE_SHARED')
56 >>> sysconfig.get_config_var('LIBDIR')

1234