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

Function get_module_dir

numpy/f2py/tests/util.py:54–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53
54def get_module_dir():
55 global _module_dir
56 if _module_dir is None:
57 _module_dir = tempfile.mkdtemp()
58 atexit.register(_cleanup)
59 if _module_dir not in sys.path:
60 sys.path.insert(0, _module_dir)
61 return _module_dir
62
63
64def get_temp_module_name():

Callers 3

get_temp_module_nameFunction · 0.85
build_moduleFunction · 0.85
build_module_distutilsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected