OpenQuizz
Une application de gestion des contenus pédagogiques
|
Functions | |
def | get_scheme (dist_name, user=False, home=None, root=None, isolated=False, prefix=None) |
def | get_bin_prefix () |
def | get_purelib () |
def | get_platlib () |
def | get_prefixed_libs (prefix) |
Locations where we look for configs, install stuff, etc
def pip._internal.locations._distutils.get_bin_prefix | ( | ) |
def pip._internal.locations._distutils.get_platlib | ( | ) |
def pip._internal.locations._distutils.get_prefixed_libs | ( | prefix | ) |
def pip._internal.locations._distutils.get_purelib | ( | ) |
def pip._internal.locations._distutils.get_scheme | ( | dist_name, | |
user = False , |
|||
home = None , |
|||
root = None , |
|||
isolated = False , |
|||
prefix = None |
|||
) |
Get the "scheme" corresponding to the input parameters. The distutils documentation provides the context for the available schemes: https://docs.python.org/3/install/index.html#alternate-installation :param dist_name: the name of the package to retrieve the scheme for, used in the headers scheme path :param user: indicates to use the "user" scheme :param home: indicates to use the "home" scheme and provides the base directory for the same :param root: root under which other directories are re-based :param isolated: equivalent to --no-user-cfg, i.e. do not consider ~/.pydistutils.cfg (posix) or ~/pydistutils.cfg (non-posix) for scheme paths :param prefix: indicates to use the "prefix" scheme and provides the base directory for the same