MCPcopy Create free account
hub / github.com/DedalusProject/dedalus / get_lib

Function get_lib

setup.py:78–83  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

76
77@cache
78def get_lib(name):
79 print(f"Looking for {name} library path:")
80 if path := get_env(f"{name.upper()}_LIBRARY_PATH"):
81 return path
82 if prefix := get_library_prefix(name):
83 return os.path.join(prefix, "lib")
84
85def get_version(rel_path):
86 """Read version from a file via text parsing, following PyPA guide."""

Callers 1

setup.pyFile · 0.85

Calls 2

get_envFunction · 0.85
get_library_prefixFunction · 0.85

Tested by

no test coverage detected