OpenQuizz
Une application de gestion des contenus pédagogiques
pip._internal.self_outdated_check Namespace Reference

Data Structures

class  SelfCheckState
 

Functions

def was_installed_by_pip (pkg)
 
def pip_self_version_check (session, options)
 

Variables

 SELFCHECK_DATE_FMT
 
 logger
 

Function Documentation

◆ pip_self_version_check()

def pip._internal.self_outdated_check.pip_self_version_check (   session,
  options 
)
Check for an update for pip.

Limit the frequency of checks to once per week. State is stored either in
the active virtualenv or in the user's USER_CACHE_DIR keyed off the prefix
of the pip script path.

◆ was_installed_by_pip()

def pip._internal.self_outdated_check.was_installed_by_pip (   pkg)
Checks whether pkg was installed by pip

This is used not to display the upgrade message when pip is in fact
installed by system package manager, such as dnf on Fedora.

Variable Documentation

◆ logger

logger

◆ SELFCHECK_DATE_FMT

SELFCHECK_DATE_FMT