MCPcopy Create free account
hub / github.com/apache/arrow / _has_pkg_config

Function _has_pkg_config

python/pyarrow/__init__.py:329–335  ·  view source on GitHub ↗
(pkgname)

Source from the content-addressed store, hash-verified

327
328
329def _has_pkg_config(pkgname):
330 import subprocess
331 try:
332 return subprocess.call([_get_pkg_config_executable(),
333 '--exists', pkgname]) == 0
334 except FileNotFoundError:
335 return False
336
337
338def _read_pkg_config_variable(pkgname, cli_args):

Callers 1

get_library_dirsFunction · 0.85

Calls 2

callMethod · 0.80

Tested by

no test coverage detected