OpenQuizz
Une application de gestion des contenus pédagogiques
RequiresPythonCandidate Class Reference
Inheritance diagram for RequiresPythonCandidate:
Collaboration diagram for RequiresPythonCandidate:

Public Member Functions

def __init__ (self, py_version_info)
 
def __str__ (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)
 
def source_link (self)
 

Static Public Attributes

 is_installed
 
 source_link
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  py_version_info 
)

Member Function Documentation

◆ __str__()

def __str__ (   self)

◆ format_for_error()

def format_for_error (   self)

Reimplemented from Candidate.

◆ get_install_requirement()

def get_install_requirement (   self)

Reimplemented from Candidate.

◆ iter_dependencies()

def iter_dependencies (   self,
  with_requires 
)

Reimplemented from Candidate.

◆ name()

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.

◆ project_name()

def project_name (   self)
The "project name" of the candidate.

This is different from ``name`` if this candidate contains extras,
in which case ``name`` would contain the ``[...]`` part, while this
refers to the name of the project.

Reimplemented from Candidate.

◆ version()

def version (   self)

Reimplemented from Candidate.

Field Documentation

◆ is_installed

is_installed
static

◆ source_link

source_link
static

The documentation for this class was generated from the following file: