Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Classes | Functions | Variables
pip._vendor.distlib.database Namespace Reference

Classes

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

Functions

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

Variables

 logger = logging.getLogger(__name__)
 
str EXPORTS_FILENAME = 'pydist-exports.json'
 
str COMMANDS_FILENAME = 'pydist-commands.json'
 
tuple DIST_FILES
 
str DISTINFO_EXT = '.dist-info'
 
 new_dist_class = InstalledDistribution
 
 old_dist_class = EggInfoDistribution
 

Detailed Description

PEP 376 implementation.

Function Documentation

◆ get_dependent_dists()

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()

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
             in finding the dependencies.

◆ make_dist()

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

◆ make_graph()

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

◆ DIST_FILES

tuple pip._vendor.distlib.database.DIST_FILES
Initial value:
1= ('INSTALLER', METADATA_FILENAME, 'RECORD', 'REQUESTED',
2 'RESOURCES', EXPORTS_FILENAME, 'SHARED')