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

Public Member Functions

def __init__ (self, req)
 
def get_pkg_resources_distribution (self)
 
def prepare_distribution_metadata (self, finder, build_isolation)
 

Data Fields

 req
 

Detailed Description

A base class for handling installable artifacts.

The requirements for anything installable are as follows:

 - we must be able to determine the requirement name
   (or we can't correctly handle the non-upgrade case).

 - for packages with setup requirements, we must also be able
   to determine their requirements without installing additional
   packages (for the same reason as run-time dependencies)

 - we must be able to create a Distribution object exposing the
   above metadata.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  req 
)

Member Function Documentation

◆ get_pkg_resources_distribution()

def get_pkg_resources_distribution (   self)

◆ prepare_distribution_metadata()

def prepare_distribution_metadata (   self,
  finder,
  build_isolation 
)

Field Documentation

◆ req

req

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