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)
| 487 | |
| 488 | |
| 489 | def get_paths(scheme=get_default_scheme(), vars=None, expand=True): |
| 490 | """Return a mapping containing an install scheme. |
| 491 | |
| 492 | ``scheme`` is the install scheme name. If not provided, it will |
| 493 | return the default scheme for the current platform. |
| 494 | """ |
| 495 | if expand: |
| 496 | return _expand_vars(scheme, vars) |
| 497 | else: |
| 498 | return _INSTALL_SCHEMES[scheme] |
| 499 | |
| 500 | |
| 501 | def get_path(name, scheme=get_default_scheme(), vars=None, expand=True): |