Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Static Public Attributes | Private Member Functions | Static Private Attributes | List of all members
pip._vendor.distlib.version.NormalizedMatcher Class Reference
Inheritance diagram for pip._vendor.distlib.version.NormalizedMatcher:
pip._vendor.distlib.version.Matcher _object

Static Public Attributes

 version_class = NormalizedVersion
 
- Static Public Attributes inherited from pip._vendor.distlib.version.Matcher
 version_class = None
 
tuple dist_re = re.compile(r"^(\w[\s\w'.-]*)(\((.*)\))?")
 
tuple comp_re = re.compile(r'^(<=|>=|<|>|!=|==|~=)?\s*([^\s,]+)$')
 
tuple num_re = re.compile(r'^\d+(\.\d+)*$')
 

Private Member Functions

def _adjust_local
 
def _match_lt
 
def _match_gt
 
def _match_le
 
def _match_ge
 
def _match_eq
 
def _match_ne
 
def _match_compatible
 

Static Private Attributes

dictionary _operators
 

Additional Inherited Members

- Public Member Functions inherited from pip._vendor.distlib.version.Matcher
def __init__
 
def match
 
def exact_version
 
def __eq__
 
def __ne__
 
def __hash__
 
def __repr__
 
def __str__
 
- Public Attributes inherited from pip._vendor.distlib.version.Matcher
 name
 
 key
 

Member Function Documentation

def pip._vendor.distlib.version.NormalizedMatcher._adjust_local (   self,
  version,
  constraint,
  prefix 
)
private
def pip._vendor.distlib.version.NormalizedMatcher._match_compatible (   self,
  version,
  constraint,
  prefix 
)
private
def pip._vendor.distlib.version.NormalizedMatcher._match_eq (   self,
  version,
  constraint,
  prefix 
)
private
def pip._vendor.distlib.version.NormalizedMatcher._match_ge (   self,
  version,
  constraint,
  prefix 
)
private
def pip._vendor.distlib.version.NormalizedMatcher._match_gt (   self,
  version,
  constraint,
  prefix 
)
private
def pip._vendor.distlib.version.NormalizedMatcher._match_le (   self,
  version,
  constraint,
  prefix 
)
private
def pip._vendor.distlib.version.NormalizedMatcher._match_lt (   self,
  version,
  constraint,
  prefix 
)
private
def pip._vendor.distlib.version.NormalizedMatcher._match_ne (   self,
  version,
  constraint,
  prefix 
)
private

Member Data Documentation

dictionary pip._vendor.distlib.version.NormalizedMatcher._operators
staticprivate
Initial value:
1 = {
2  '~=': '_match_compatible',
3  '<': '_match_lt',
4  '>': '_match_gt',
5  '<=': '_match_le',
6  '>=': '_match_ge',
7  '==': '_match_eq',
8  '!=': '_match_ne',
9  }
pip._vendor.distlib.version.NormalizedMatcher.version_class = NormalizedVersion
static

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

Copyright 2014 Google Inc. All rights reserved.