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

Method _fix_paths_dict

numpy/distutils/misc_util.py:1434–1440  ·  view source on GitHub ↗
(self, kw)

Source from the content-addressed store, hash-verified

1432 include_non_existing=include_non_existing)
1433
1434 def _fix_paths_dict(self, kw):
1435 for k in kw.keys():
1436 v = kw[k]
1437 if k in ['sources', 'depends', 'include_dirs', 'library_dirs',
1438 'module_dirs', 'extra_objects']:
1439 new_v = self.paths(v)
1440 kw[k] = new_v
1441
1442 def add_extension(self,name,sources,**kw):
1443 """Add extension to configuration.

Callers 2

add_extensionMethod · 0.95
_add_libraryMethod · 0.95

Calls 2

pathsMethod · 0.95
keysMethod · 0.80

Tested by

no test coverage detected