ó ïRec@s‘ddlZddlmZmZddlmZddlmZerwddlm Z m Z m Z ddl m Z ndefd„ƒYZdS( iÿÿÿÿN(t get_supportedtversion_info_to_nodot(tnormalize_version_info(tMYPY_CHECK_RUNNING(tListtOptionaltTuple(tTagt TargetPythoncBsPeZdZdddddddgZd d d d d„Zd „Zd „ZRS( sx Encapsulates the properties of a Python interpreter one is targeting for a package install, download, etc. t_given_py_version_infotabitimplementationtplatformt py_versiontpy_version_infot _valid_tagscCs‡||_|dkr%tjd }n t|ƒ}djtt|d ƒƒ}||_||_ ||_ ||_ ||_ d|_ dS(s' :param platform: A string or None. If None, searches for packages that are supported by the current system. Otherwise, will find packages that can be built on the platform 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 abi: A string 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. it.iN(R tNonetsyst version_infoRtjointmaptstrR R R R RR(tselfR RR R R ((s‘/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/target_python.pyt__init__!s        cCs~d }|jd k r4djd„|jDƒƒ}nd|jfd|fd|jfd|jfg}djd„|DƒƒS( sD Format the given, non-None attributes for display. Rcss|]}t|ƒVqdS(N(R(t.0tpart((s‘/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/target_python.pys RsR RR R t css3|])\}}|dk rdj||ƒVqdS(s{}={!r}N(Rtformat(Rtkeytvalue((s‘/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/target_python.pys \s N(RR RR R R (Rtdisplay_versiont key_values((s‘/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/target_python.pyt format_givenJs   c Csv|jdkro|j}|dkr-d}n t|ƒ}td|d|jd|jd|jƒ}||_n|jS(s¤ Return the supported PEP 425 tags to check wheel candidates against. The tags are returned in order of preference (most preferred first). tversionR R timplN(RRR RRR R R (RRR"ttags((s‘/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/target_python.pytget_tags`s        N(t__name__t __module__t__doc__t __slots__RRR!R%(((s‘/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/target_python.pyRs  $ (Rt&pip._internal.utils.compatibility_tagsRRtpip._internal.utils.miscRtpip._internal.utils.typingRttypingRRRtpip._vendor.packaging.tagsRtobjectR(((s‘/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/target_python.pyts