OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | SelfCheckState |
Functions | |
def | was_installed_by_pip (pkg) |
def | pip_self_version_check (session, options) |
Variables | |
SELFCHECK_DATE_FMT | |
logger | |
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.
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.
logger |
SELFCHECK_DATE_FMT |