Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Functions | Variables
pip._vendor.distlib.database Namespace Reference

Classes

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

Functions

def make_graph
 
def get_dependent_dists
 
def get_required_dists
 
def make_dist
 

Variables

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

Function Documentation

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
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
def pip._vendor.distlib.database.make_dist (   name,
  version,
  kwargs 
)
A convenience method for making a dist given just a name and version.
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

list pip._vendor.distlib.database.__all__
Initial value:
1 = ['Distribution', 'BaseInstalledDistribution',
2  'InstalledDistribution', 'EggInfoDistribution',
3  'DistributionPath']
string pip._vendor.distlib.database.COMMANDS_FILENAME = 'pydist-commands.json'
tuple pip._vendor.distlib.database.DIST_FILES
Initial value:
1 = ('INSTALLER', METADATA_FILENAME, 'RECORD', 'REQUESTED',
2  'RESOURCES', EXPORTS_FILENAME, 'SHARED')
string pip._vendor.distlib.database.DISTINFO_EXT = '.dist-info'
string pip._vendor.distlib.database.EXPORTS_FILENAME = 'pydist-exports.json'
tuple pip._vendor.distlib.database.logger = logging.getLogger(__name__)
pip._vendor.distlib.database.new_dist_class = InstalledDistribution
pip._vendor.distlib.database.old_dist_class = EggInfoDistribution

Copyright 2014 Google Inc. All rights reserved.