![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Public Member Functions | |
| None | __init__ (self, Optional[List[str]] platforms=None, Optional[Tuple[int,...]] py_version_info=None, Optional[List[str]] abis=None, Optional[str] implementation=None) |
| str | format_given (self) |
| List[Tag] | get_sorted_tags (self) |
| Set[Tag] | get_unsorted_tags (self) |
Public Attributes | |
| abis | |
| implementation | |
| platforms | |
| py_version | |
| py_version_info | |
Protected Attributes | |
| _given_py_version_info | |
| _valid_tags | |
| _valid_tags_set | |
Encapsulates the properties of a Python interpreter one is targeting for a package install, download, etc.
| None pip._internal.models.target_python.TargetPython.__init__ | ( | self, | |
| Optional[List[str]] | platforms = None, |
||
| Optional[Tuple[int, ...]] | py_version_info = None, |
||
| Optional[List[str]] | abis = None, |
||
| Optional[str] | implementation = None |
||
| ) |
:param platforms: A list of strings or None. If None, searches for
packages that are supported by the current system. Otherwise, will
find packages that can be built on the platforms passed in. These
packages will only be downloaded for distribution: they will
not be built locally.
:param py_version_info: An optional tuple of ints representing the
Python version information to use (e.g. `sys.version_info[:3]`).
This can have length 1, 2, or 3 when provided.
:param abis: A list of strings or None. This is passed to
compatibility_tags.py's get_supported() function as is.
:param implementation: A string or None. This is passed to
compatibility_tags.py's get_supported() function as is.
| str pip._internal.models.target_python.TargetPython.format_given | ( | self | ) |
Format the given, non-None attributes for display.
| List[Tag] pip._internal.models.target_python.TargetPython.get_sorted_tags | ( | self | ) |
Return the supported PEP 425 tags to check wheel candidates against. The tags are returned in order of preference (most preferred first).
| Set[Tag] pip._internal.models.target_python.TargetPython.get_unsorted_tags | ( | self | ) |
Exactly the same as get_sorted_tags, but returns a set. This is important for performance.