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

Function _prepare_objects

numpy/f2py/_backends/_meson.py:226–231  ·  view source on GitHub ↗
(mname, objects, bdir)

Source from the content-addressed store, hash-verified

224 return extended_sources
225
226def _prepare_objects(mname, objects, bdir):
227 Path(bdir).mkdir(parents=True, exist_ok=True)
228 # Copy objects
229 for obj in objects:
230 if Path(obj).exists() and Path(obj).is_file():
231 shutil.copy(obj, bdir)
232
233def _get_flags(fc_flags):
234 flag_values = []

Callers 1

compileMethod · 0.85

Calls 2

existsMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…