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

Function pythonlib_dir

numpy/core/setup.py:102–107  ·  view source on GitHub ↗

return path where libpython* is.

()

Source from the content-addressed store, hash-verified

100 "Please run `git submodule update --init` to fix this.")
101
102def pythonlib_dir():
103 """return path where libpython* is."""
104 if sys.platform == 'win32':
105 return os.path.join(sys.prefix, "libs")
106 else:
107 return get_config_var('LIBDIR')
108
109def is_npy_no_signal():
110 """Return True if the NPY_NO_SIGNAL symbol must be defined in configuration

Callers 1

check_typesFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected