def call_get_installed_distributions(local_only=True, skip=None,
    include_editables=True, editables_only=False, user_only=False, use_cmd=
    False):
    """
    Directs call to function *get_installed_distributions* from :epkg:`pip`.

    Return a list of installed Distribution objects.

    @param  local_only      if True (default), only return installations
                            local to the current virtualenv, if in a virtualenv.
    @param  skip            argument is an iterable of lower-case project names to
                            ignore; defaults to ``pip.compat.stdlib_pkgs`` (if *skip* is None)
    @param  editables       if False, don't report editables.
    @param  editables_only  if True , only report editables.
    @param  user_only       if True , only report installations in the user
                            site directory.
    @param  use_cmd         if True, use a different process (updated package list)
    @return                 list of installed Distribution objects.
    """
    if use_cmd:
        raise NotImplementedError('use_cmd should be False')
    from pip._internal.utils.misc import get_installed_distributions
    if skip is None:
        try:
            from pip._internal.utils.compat import stdlib_pkgs
        except ImportError:
            try:
                from pip._internal.compat import stdlib_pkgs
            except ImportError:
                from pip.compat import stdlib_pkgs
        skip = stdlib_pkgs
    return get_installed_distributions(local_only=local_only, skip=skip,
        include_editables=include_editables, editables_only=editables_only,
        user_only=user_only)
