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

Public Member Functions

def __init__ (self, dist)
 
def from_wheel (cls, path, name)
 
def location (self)
 
def metadata_version (self)
 
def canonical_name (self)
 
def version (self)
 
def installer (self)
 
def editable (self)
 
def local (self)
 
def in_usersite (self)
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  dist 
)

Member Function Documentation

◆ canonical_name()

def canonical_name (   self)

Reimplemented from BaseDistribution.

◆ editable()

def editable (   self)

Reimplemented from BaseDistribution.

◆ from_wheel()

def from_wheel (   cls,
  path,
  name 
)

◆ in_usersite()

def in_usersite (   self)

Reimplemented from BaseDistribution.

◆ installer()

def installer (   self)

Reimplemented from BaseDistribution.

◆ local()

def local (   self)

Reimplemented from BaseDistribution.

◆ location()

def location (   self)
Where the distribution is loaded from.

A string value is not necessarily a filesystem path, since distributions
can be loaded from other sources, e.g. arbitrary zip archives. ``None``
means the distribution is created in-memory.

Reimplemented from BaseDistribution.

◆ metadata_version()

def metadata_version (   self)
Value of "Metadata-Version:" in the distribution, if available.

Reimplemented from BaseDistribution.

◆ version()

def version (   self)

Reimplemented from BaseDistribution.


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