MCPcopy Create free account
hub / github.com/PyTables/PyTables / _pkg_config

Method _pkg_config

setup.py:413–425  ·  view source on GitHub ↗
(self, flags)

Source from the content-addressed store, hash-verified

411 return True
412
413 def _pkg_config(self, flags):
414 try:
415 cmd = [PKG_CONFIG] + flags.split() + [self.library_name]
416 config = subprocess.run(
417 cmd,
418 capture_output=True,
419 check=True,
420 text=True,
421 ).stdout
422 except (OSError, subprocess.CalledProcessError):
423 return []
424 else:
425 return config.strip().split()
426
427 def find_directories(self, location, use_pkgconfig=False, hook=None):
428 dirdata = [

Callers 1

find_directoriesMethod · 0.95

Calls 1

runMethod · 0.45

Tested by

no test coverage detected