MCPcopy Create free account
hub / github.com/PyTables/PyTables / add_from_flags

Function add_from_flags

setup.py:206–211  ·  view source on GitHub ↗
(envname, flag_key, dirs)

Source from the content-addressed store, hash-verified

204
205
206def add_from_flags(envname, flag_key, dirs):
207 dirs.extend(
208 Path(flag[len(flag_key) :])
209 for flag in os.environ.get(envname, "").split()
210 if flag.startswith(flag_key)
211 )
212
213
214def _find_file_path(name, locations, prefixes=("",), suffixes=("",)):

Callers 1

get_default_dirsFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected