MCPcopy Create free account
hub / github.com/numpy/numpy / _get_headers

Function _get_headers

numpy/distutils/misc_util.py:565–571  ·  view source on GitHub ↗
(directory_list)

Source from the content-addressed store, hash-verified

563
564
565def _get_headers(directory_list):
566 # get *.h files from list of directories
567 headers = []
568 for d in directory_list:
569 head = sorted_glob(os.path.join(d, "*.h")) #XXX: *.hpp files??
570 headers.extend(head)
571 return headers
572
573def _get_directories(list_of_sources):
574 # get unique directories from list of sources.

Callers 1

get_dependenciesFunction · 0.85

Calls 2

sorted_globFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected