|
OpenQuizz
Une application de gestion des contenus pédagogiques
|

Public Member Functions | |
| def | default (cls) |
| def | from_paths (cls, paths) |
| def | get_distribution (self, name) |
| def | iter_distributions (self) |
| def | iter_installed_distributions (self, local_only=True, skip=stdlib_pkgs, include_editables=True, editables_only=False, user_only=False) |
An environment containing distributions to introspect.
| def default | ( | cls | ) |
Reimplemented in Environment.
| def from_paths | ( | cls, | |
| paths | |||
| ) |
Reimplemented in Environment.
| def get_distribution | ( | self, | |
| name | |||
| ) |
Given a requirement name, return the installed distributions.
Reimplemented in Environment.
| def iter_distributions | ( | self | ) |
Iterate through installed distributions.
| def iter_installed_distributions | ( | self, | |
local_only = True, |
|||
skip = stdlib_pkgs, |
|||
include_editables = True, |
|||
editables_only = False, |
|||
user_only = False |
|||
| ) |
Return a list of installed distributions.
:param local_only: If True (default), only return installations
local to the current virtualenv, if in a virtualenv.
:param skip: An iterable of canonicalized project names to ignore;
defaults to ``stdlib_pkgs``.
:param include_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.