29 platforms: Optional[List[str]] =
None,
30 py_version_info: Optional[Tuple[int, ...]] =
None,
31 abis: Optional[List[str]] =
None,
32 implementation: Optional[str] =
None,
35 :param platforms: A list of strings or None. If None, searches for
36 packages that are supported by the current system. Otherwise, will
37 find packages that can be built on the platforms passed in. These
38 packages will only be downloaded for distribution: they will
40 :param py_version_info: An optional tuple of ints representing the
41 Python version information to use (e.g. `sys.version_info[:3]`).
42 This can have length 1, 2, or 3 when provided.
43 :param abis: A list of strings or None. This is passed to
44 compatibility_tags.py's get_supported() function as is.
45 :param implementation: A string or None. This is passed to
46 compatibility_tags.py's get_supported() function as is.
51 if py_version_info
is None:
54 py_version_info = normalize_version_info(py_version_info)
56 py_version =
".".join(map(str, py_version_info[:2]))