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


Public Member Functions | |
| None | __init__ (self, str cache_dir) |
| str | get_path_for_link (self, Link link) |
| Link | get (self, Link link, Optional[str] package_name, List[Tag] supported_tags) |
Public Attributes | |
| cache_dir | |
Public Attributes inherited from pip._internal.cache.Cache | |
| cache_dir | |
Additional Inherited Members | |
Protected Member Functions inherited from pip._internal.cache.Cache | |
| List[str] | _get_cache_path_parts (self, Link link) |
| List[Any] | _get_candidates (self, Link link, str canonical_package_name) |
A cache of wheels for future installs.
| None pip._internal.cache.SimpleWheelCache.__init__ | ( | self, | |
| str | cache_dir | ||
| ) |
Reimplemented from pip._internal.cache.Cache.
| Link pip._internal.cache.SimpleWheelCache.get | ( | self, | |
| Link | link, | ||
| Optional[str] | package_name, | ||
| List[Tag] | supported_tags | ||
| ) |
Returns a link to a cached item if it exists, otherwise returns the passed link.
Reimplemented from pip._internal.cache.Cache.
| str pip._internal.cache.SimpleWheelCache.get_path_for_link | ( | self, | |
| Link | link | ||
| ) |
Return a directory to store cached wheels for link Because there are M wheels for any one sdist, we provide a directory to cache them in, and then consult that directory when looking up cache hits. We only insert things into the cache if they have plausible version numbers, so that we don't contaminate the cache with things that were not unique. E.g. ./package might have dozens of installs done for it and build a version of 0.0...and if we built and cached a wheel, we'd end up using the same wheel even if the source has been edited. :param link: The link of the sdist for which this will cache wheels.
Reimplemented from pip._internal.cache.Cache.