![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| __init__ (self, location=None, metadata=None, project_name=None, version=None, py_version=PY_MAJOR, platform=None, precedence=EGG_DIST) | |
| from_location (cls, location, basename, metadata=None, **kw) | |
| hashcmp (self) | |
| __hash__ (self) | |
| __lt__ (self, other) | |
| __le__ (self, other) | |
| __gt__ (self, other) | |
| __ge__ (self, other) | |
| __eq__ (self, other) | |
| __ne__ (self, other) | |
| key (self) | |
| parsed_version (self) | |
| version (self) | |
| requires (self, extras=()) | |
| activate (self, path=None, replace=False) | |
| egg_name (self) | |
| __repr__ (self) | |
| __str__ (self) | |
| __getattr__ (self, attr) | |
| __dir__ (self) | |
| from_filename (cls, filename, metadata=None, **kw) | |
| as_requirement (self) | |
| load_entry_point (self, group, name) | |
| get_entry_map (self, group=None) | |
| get_entry_info (self, group, name) | |
| insert_on (self, path, loc=None, replace=False) | |
| check_version_conflict (self) | |
| has_version (self) | |
| clone (self, **kw) | |
| extras (self) | |
Public Attributes | |
| project_name | |
| py_version | |
| platform | |
| location | |
| precedence | |
| key | |
| hashcmp | |
| PKG_INFO | |
| version | |
| parsed_version | |
Static Public Attributes | |
| str | PKG_INFO = 'PKG-INFO' |
Protected Member Functions | |
| _reload_version (self) | |
| _forgiving_parsed_version (self) | |
| _dep_map (self) | |
| _build_dep_map (self) | |
| _get_metadata_path_for_display (self, name) | |
| _get_metadata (self, name) | |
| _get_version (self) | |
Static Protected Member Functions | |
| _filter_extras (dm) | |
Protected Attributes | |
| _version | |
| _provider | |
| _forgiving_parsed_version | |
| _key | |
| _parsed_version | |
Wrap an actual or potential sys.path entry w/metadata
| pip._vendor.pkg_resources.Distribution.__getattr__ | ( | self, | |
| attr | |||
| ) |
Delegate all unrecognized public attributes to .metadata provider
|
protected |
A map of extra to its list of (direct) requirements for this distribution, including the null extra.
Reimplemented in pip._vendor.pkg_resources.DistInfoDistribution.
|
staticprotected |
Given a mapping of extras to dependencies, strip off environment markers and filter out any dependencies not matching the markers.
|
protected |
Return the path to the given metadata file, if available.
|
protected |
Reimplemented in pip._vendor.pkg_resources.EggInfoDistribution.
| pip._vendor.pkg_resources.Distribution.activate | ( | self, | |
path = None, |
|||
replace = False |
|||
| ) |
Ensure distribution is importable on `path` (default=sys.path)
| pip._vendor.pkg_resources.Distribution.as_requirement | ( | self | ) |
Return a ``Requirement`` that matches this distribution exactly
| pip._vendor.pkg_resources.Distribution.clone | ( | self, | |
| ** | kw | ||
| ) |
Copy this distribution, substituting in any changed keyword args
| pip._vendor.pkg_resources.Distribution.egg_name | ( | self | ) |
Return what this distribution's standard .egg filename should be
| pip._vendor.pkg_resources.Distribution.get_entry_info | ( | self, | |
| group, | |||
| name | |||
| ) |
Return the EntryPoint object for `group`+`name`, or ``None``
| pip._vendor.pkg_resources.Distribution.get_entry_map | ( | self, | |
group = None |
|||
| ) |
Return the entry point map for `group`, or the full entry map
| pip._vendor.pkg_resources.Distribution.insert_on | ( | self, | |
| path, | |||
loc = None, |
|||
replace = False |
|||
| ) |
Ensure self.location is on path
If replace=False (default):
- If location is already in path anywhere, do nothing.
- Else:
- If it's an egg and its parent directory is on path,
insert just ahead of the parent.
- Else: add to the end of path.
If replace=True:
- If location is already on path anywhere (not eggs)
or higher priority than its parent (eggs)
do nothing.
- Else:
- If it's an egg and its parent directory is on path,
insert just ahead of the parent,
removing any lower-priority entries.
- Else: add it to the front of path.
| pip._vendor.pkg_resources.Distribution.load_entry_point | ( | self, | |
| group, | |||
| name | |||
| ) |
Return the `name` entry point of `group` or raise ImportError
| pip._vendor.pkg_resources.Distribution.requires | ( | self, | |
extras = () |
|||
| ) |
List of Requirements needed for this distro if `extras` are used