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

Function _has_pkg_config

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

Source from the content-addressed store, hash-verified

317
318
319def _has_pkg_config(pkgname):
320 import subprocess
321 try:
322 return subprocess.call([_get_pkg_config_executable(),
323 '--exists', pkgname]) == 0
324 except FileNotFoundError:
325 return False
326
327
328def _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