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)
| 607 | |
| 608 | |
| 609 | def 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 | |
| 621 | def get_path(name, scheme=get_default_scheme(), vars=None, expand=True): |
no test coverage detected