OpenQuizz
Une application de gestion des contenus pédagogiques
pip._vendor.distlib.database Namespace Reference

Data Structures

class  _Cache
 
class  BaseInstalledDistribution
 
class  DependencyGraph
 
class  Distribution
 
class  DistributionPath
 
class  EggInfoDistribution
 
class  InstalledDistribution
 

Functions

def make_graph (dists, scheme='default')
 
def get_dependent_dists (dists, dist)
 
def get_required_dists (dists, dist)
 
def make_dist (name, version, **kwargs)
 

Variables

 logger
 
 EXPORTS_FILENAME
 
 COMMANDS_FILENAME
 
 DIST_FILES
 
 DISTINFO_EXT
 
 new_dist_class
 
 old_dist_class
 

Function Documentation

◆ get_dependent_dists()

def pip._vendor.distlib.database.get_dependent_dists (   dists,
  dist 
)
Recursively generate a list of distributions from *dists* that are
dependent on *dist*.

:param dists: a list of distributions
:param dist: a distribution, member of *dists* for which we are interested

◆ get_required_dists()

def pip._vendor.distlib.database.get_required_dists (   dists,
  dist 
)
Recursively generate a list of distributions from *dists* that are
required by *dist*.

:param dists: a list of distributions
:param dist: a distribution, member of *dists* for which we are interested

◆ make_dist()

def pip._vendor.distlib.database.make_dist (   name,
  version,
**  kwargs 
)
A convenience method for making a dist given just a name and version.

◆ make_graph()

def pip._vendor.distlib.database.make_graph (   dists,
  scheme = 'default' 
)
Makes a dependency graph from the given distributions.

:parameter dists: a list of distributions
:type dists: list of :class:`distutils2.database.InstalledDistribution` and
             :class:`distutils2.database.EggInfoDistribution` instances
:rtype: a :class:`DependencyGraph` instance

Variable Documentation

◆ COMMANDS_FILENAME

COMMANDS_FILENAME

◆ DIST_FILES

DIST_FILES

◆ DISTINFO_EXT

DISTINFO_EXT

◆ EXPORTS_FILENAME

EXPORTS_FILENAME

◆ logger

logger

◆ new_dist_class

new_dist_class

◆ old_dist_class

old_dist_class