|
Orbits
1
|
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 | |
Wrap an actual or potential sys.path entry w/metadata
| def pkg_resources.Distribution.__init__ | ( | self, | |
location = None, |
|||
metadata = None, |
|||
project_name = None, |
|||
version = None, |
|||
py_version = PY_MAJOR, |
|||
platform = None, |
|||
precedence = EGG_DIST |
|||
| ) |
| 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 | ) |
|
private |
|
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 | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| pkg_resources.Distribution.hashcmp |
| pkg_resources.Distribution.key |
| pkg_resources.Distribution.location |
|
static |
| pkg_resources.Distribution.platform |
| pkg_resources.Distribution.precedence |
| pkg_resources.Distribution.project_name |
| pkg_resources.Distribution.py_version |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.