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

Classes

class  ASTWhitelist
 

Functions

def python_implementation
 
def default_environment
 
def parse_marker
 
def compile_marker
 
def compile
 
def interpret
 

Variables

list __all__ = ['default_environment', 'compile', 'interpret']
 
 _builtin_compile = compile
 
dictionary _VARS
 
tuple _cache = weakref.WeakValueDictionary()
 

Function Documentation

def pip._vendor._markerlib.markers.compile (   marker)
Return compiled marker as a function accepting an environment dict.
def pip._vendor._markerlib.markers.compile_marker (   parsed_marker)
def pip._vendor._markerlib.markers.default_environment ( )
Return copy of default PEP 385 globals dictionary.
def pip._vendor._markerlib.markers.interpret (   marker,
  environment = None 
)
def pip._vendor._markerlib.markers.parse_marker (   marker)
def pip._vendor._markerlib.markers.python_implementation ( )

Variable Documentation

list pip._vendor._markerlib.markers.__all__ = ['default_environment', 'compile', 'interpret']
pip._vendor._markerlib.markers._builtin_compile = compile
tuple pip._vendor._markerlib.markers._cache = weakref.WeakValueDictionary()
dictionary pip._vendor._markerlib.markers._VARS
Initial value:
1 = {'sys.platform': sys.platform,
2  'python_version': '%s.%s' % sys.version_info[:2],
3  # FIXME parsing sys.platform is not reliable, but there is no other
4  # way to get e.g. 2.7.2+, and the PEP is defined with sys.version
5  'python_full_version': sys.version.split(' ', 1)[0],
6  'os.name': os.name,
7  'platform.version': platform.version(),
8  'platform.machine': platform.machine(),
9  'platform.python_implementation': python_implementation(),
10  'extra': None # wheel extension
11  }

Copyright 2014 Google Inc. All rights reserved.