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

Method paths

numpy/distutils/misc_util.py:1419–1432  ·  view source on GitHub ↗

Apply glob to paths and prepend local_path if needed. Applies glob.glob(...) to each path in the sequence (if needed) and pre-pends the local_path if needed. Because this is called on all source lists, this allows wildcard characters to be specified in lists of sourc

(self,*paths,**kws)

Source from the content-addressed store, hash-verified

1417 self.headers.extend(headers)
1418
1419 def paths(self,*paths,**kws):
1420 """Apply glob to paths and prepend local_path if needed.
1421
1422 Applies glob.glob(...) to each path in the sequence (if needed) and
1423 pre-pends the local_path if needed. Because this is called on all
1424 source lists, this allows wildcard characters to be specified in lists
1425 of sources for extension modules and libraries and scripts and allows
1426 path-names be relative to the source directory.
1427
1428 """
1429 include_non_existing = kws.get('include_non_existing', True)
1430 return gpaths(paths,
1431 local_path = self.local_path,
1432 include_non_existing=include_non_existing)
1433
1434 def _fix_paths_dict(self, kw):
1435 for k in kw.keys():

Callers 9

configurationFunction · 0.95
configurationFunction · 0.95
get_subpackageMethod · 0.95
add_data_dirMethod · 0.95
add_data_filesMethod · 0.95
add_include_dirsMethod · 0.95
add_headersMethod · 0.95
_fix_paths_dictMethod · 0.95
add_scriptsMethod · 0.95

Calls 2

gpathsFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected