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


Public Member Functions | |
| def | __init__ (self, link, source_link, ireq, factory, name=None, version=None) |
| def | __str__ (self) |
| def | __repr__ (self) |
| def | __hash__ (self) |
| def | __eq__ (self, other) |
| def | source_link (self) |
| def | project_name (self) |
| def | name (self) |
| def | version (self) |
| def | format_for_error (self) |
| def | iter_dependencies (self, with_requires) |
| def | get_install_requirement (self) |
Public Member Functions inherited from Candidate | |
| def | is_installed (self) |
| def | is_editable (self) |
Data Fields | |
| dist | |
Static Public Attributes | |
| is_installed | |
A candidate backed by an ``InstallRequirement``.
This represents a package request with the target not being already
in the environment, and needs to be fetched and installed. The backing
``InstallRequirement`` is responsible for most of the leg work; this
class exposes appropriate information to the resolver.
:param link: The link passed to the ``InstallRequirement``. The backing
``InstallRequirement`` will use this link to fetch the distribution.
:param source_link: The link this candidate "originates" from. This is
different from ``link`` when the link is found in the wheel cache.
``link`` would point to the wheel cache, while this points to the
found remote link (e.g. from pypi.org).
| def __init__ | ( | self, | |
| link, | |||
| source_link, | |||
| ireq, | |||
| factory, | |||
name = None, |
|||
version = None |
|||
| ) |
| def __eq__ | ( | self, | |
| other | |||
| ) |
| def __hash__ | ( | self | ) |
| def __repr__ | ( | self | ) |
| def __str__ | ( | self | ) |
| def format_for_error | ( | self | ) |
Reimplemented from Candidate.
| def get_install_requirement | ( | self | ) |
Reimplemented from Candidate.
| def iter_dependencies | ( | self, | |
| with_requires | |||
| ) |
Reimplemented from Candidate.
| def name | ( | self | ) |
The name identifying this candidate in the resolver. This is different from ``project_name`` if this candidate contains extras, where ``project_name`` would not contain the ``[...]`` part.
Reimplemented from Candidate.
| def project_name | ( | self | ) |
The normalised name of the project the candidate refers to
Reimplemented from Candidate.
| def source_link | ( | self | ) |
Reimplemented from Candidate.
| def version | ( | self | ) |
Reimplemented from Candidate.
| dist |
|
static |