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

Method get_libraries

numpy/distutils/fcompiler/gnu.py:365–381  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

363 return opt
364
365 def get_libraries(self):
366 opt = GnuFCompiler.get_libraries(self)
367 if sys.platform == 'darwin':
368 opt.remove('cc_dynamic')
369 if sys.platform == 'win32':
370 c_compiler = self.c_compiler
371 if c_compiler and c_compiler.compiler_type == "msvc":
372 if "gcc" in opt:
373 i = opt.index("gcc")
374 opt.insert(i + 1, "mingwex")
375 opt.insert(i + 1, "mingw32")
376 c_compiler = self.c_compiler
377 if c_compiler and c_compiler.compiler_type == "msvc":
378 return []
379 else:
380 pass
381 return opt
382
383 def get_target(self):
384 try:

Callers

nothing calls this directly

Calls 2

get_librariesMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected