MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / get_paths

Function get_paths

tools/python-3.11.9-amd64/Lib/sysconfig.py:609–618  ·  view source on GitHub ↗

Return a mapping containing an install scheme. ``scheme`` is the install scheme name. If not provided, it will return the default scheme for the current platform.

(scheme=get_default_scheme(), vars=None, expand=True)

Source from the content-addressed store, hash-verified

607
608
609def get_paths(scheme=get_default_scheme(), vars=None, expand=True):
610 """Return a mapping containing an install scheme.
611
612 ``scheme`` is the install scheme name. If not provided, it will
613 return the default scheme for the current platform.
614 """
615 if expand:
616 return _expand_vars(scheme, vars)
617 else:
618 return _INSTALL_SCHEMES[scheme]
619
620
621def get_path(name, scheme=get_default_scheme(), vars=None, expand=True):

Callers 2

get_pathFunction · 0.85
_mainFunction · 0.85

Calls 2

get_default_schemeFunction · 0.85
_expand_varsFunction · 0.85

Tested by

no test coverage detected