OpenQuizz
Une application de gestion des contenus pédagogiques
|
Namespaces | |
base | |
pkg_resources | |
Functions | |
def | get_default_environment () |
def | get_environment (paths) |
def | get_wheel_distribution (wheel_path, canonical_name) |
def pip._internal.metadata.get_default_environment | ( | ) |
Get the default representation for the current environment. This returns an Environment instance from the chosen backend. The default Environment instance should be built from ``sys.path`` and may use caching to share instance state accorss calls.
def pip._internal.metadata.get_environment | ( | paths | ) |
Get a representation of the environment specified by ``paths``. This returns an Environment instance from the chosen backend based on the given import paths. The backend must build a fresh instance representing the state of installed distributions when this function is called.
def pip._internal.metadata.get_wheel_distribution | ( | wheel_path, | |
canonical_name | |||
) |
Get the representation of the specified wheel's distribution metadata. This returns a Distribution instance from the chosen backend based on the given wheel's ``.dist-info`` directory. :param canonical_name: Normalized project name of the given wheel.