Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
pkg_resources.Distribution Class Reference
Inheritance diagram for pkg_resources.Distribution:
_object pkg_resources.DistInfoDistribution

Public Member Functions

def __init__
 
def from_location
 
def hashcmp
 
def __hash__
 
def __lt__
 
def __le__
 
def __gt__
 
def __ge__
 
def __eq__
 
def __ne__
 
def key
 
def parsed_version
 
def version
 
def requires
 
def activate
 
def egg_name
 
def __repr__
 
def __str__
 
def __getattr__
 
def from_filename
 
def as_requirement
 
def load_entry_point
 
def get_entry_map
 
def get_entry_info
 
def insert_on
 
def check_version_conflict
 
def has_version
 
def clone
 
def extras
 

Public Attributes

 project_name
 
 py_version
 
 platform
 
 location
 
 precedence
 
 hashcmp
 
 key
 

Static Public Attributes

string PKG_INFO = 'PKG-INFO'
 

Private Member Functions

def _dep_map
 
def _get_metadata
 

Private Attributes

 _version
 
 _provider
 
 _key
 
 _parsed_version
 
 __dep_map
 
 _ep_map
 

Detailed Description

Wrap an actual or potential sys.path entry w/metadata

Constructor & Destructor Documentation

def pkg_resources.Distribution.__init__ (   self,
  location = None,
  metadata = None,
  project_name = None,
  version = None,
  py_version = PY_MAJOR,
  platform = None,
  precedence = EGG_DIST 
)

Member Function Documentation

def pkg_resources.Distribution.__eq__ (   self,
  other 
)
def pkg_resources.Distribution.__ge__ (   self,
  other 
)
def pkg_resources.Distribution.__getattr__ (   self,
  attr 
)
Delegate all unrecognized public attributes to .metadata provider
def pkg_resources.Distribution.__gt__ (   self,
  other 
)
def pkg_resources.Distribution.__hash__ (   self)
def pkg_resources.Distribution.__le__ (   self,
  other 
)
def pkg_resources.Distribution.__lt__ (   self,
  other 
)
def pkg_resources.Distribution.__ne__ (   self,
  other 
)
def pkg_resources.Distribution.__repr__ (   self)
def pkg_resources.Distribution.__str__ (   self)
def pkg_resources.Distribution._dep_map (   self)
private
def pkg_resources.Distribution._get_metadata (   self,
  name 
)
private
def pkg_resources.Distribution.activate (   self,
  path = None 
)
Ensure distribution is importable on `path` (default=sys.path)
def pkg_resources.Distribution.as_requirement (   self)
Return a ``Requirement`` that matches this distribution exactly
def pkg_resources.Distribution.check_version_conflict (   self)
def pkg_resources.Distribution.clone (   self,
  kw 
)
Copy this distribution, substituting in any changed keyword args
def pkg_resources.Distribution.egg_name (   self)
Return what this distribution's standard .egg filename should be
def pkg_resources.Distribution.extras (   self)
def pkg_resources.Distribution.from_filename (   cls,
  filename,
  metadata = None,
  kw 
)
def pkg_resources.Distribution.from_location (   cls,
  location,
  basename,
  metadata = None,
  kw 
)
def pkg_resources.Distribution.get_entry_info (   self,
  group,
  name 
)
Return the EntryPoint object for `group`+`name`, or ``None``
def pkg_resources.Distribution.get_entry_map (   self,
  group = None 
)
Return the entry point map for `group`, or the full entry map
def pkg_resources.Distribution.has_version (   self)
def pkg_resources.Distribution.hashcmp (   self)
def pkg_resources.Distribution.insert_on (   self,
  path,
  loc = None 
)
Insert self.location in path before its nearest parent directory
def pkg_resources.Distribution.key (   self)
def pkg_resources.Distribution.load_entry_point (   self,
  group,
  name 
)
Return the `name` entry point of `group` or raise ImportError
def pkg_resources.Distribution.parsed_version (   self)
def pkg_resources.Distribution.requires (   self,
  extras = () 
)
List of Requirements needed for this distro if `extras` are used
def pkg_resources.Distribution.version (   self)

Member Data Documentation

pkg_resources.Distribution.__dep_map
private
pkg_resources.Distribution._ep_map
private
pkg_resources.Distribution._key
private
pkg_resources.Distribution._parsed_version
private
pkg_resources.Distribution._provider
private
pkg_resources.Distribution._version
private
pkg_resources.Distribution.hashcmp
pkg_resources.Distribution.key
pkg_resources.Distribution.location
string pkg_resources.Distribution.PKG_INFO = 'PKG-INFO'
static
pkg_resources.Distribution.platform
pkg_resources.Distribution.precedence
pkg_resources.Distribution.project_name
pkg_resources.Distribution.py_version

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

Copyright 2014 Google Inc. All rights reserved.