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