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

Function main

numpy/core/code_generators/generate_numpy_api.py:228–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226
227
228def main():
229 parser = argparse.ArgumentParser()
230 parser.add_argument(
231 "-o",
232 "--outdir",
233 type=str,
234 help="Path to the output directory"
235 )
236 parser.add_argument(
237 "-i",
238 "--ignore",
239 type=str,
240 help="An ignored input - may be useful to add a "
241 "dependency between custom targets"
242 )
243 args = parser.parse_args()
244
245 outdir_abs = os.path.join(os.getcwd(), args.outdir)
246
247 generate_api(outdir_abs)
248
249
250if __name__ == "__main__":

Callers 1

Calls 2

generate_apiFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected