Your IP : 3.15.229.217


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/target_python.pyc

�
�Rec@s�ddlZddlmZmZddlmZddlmZerwddlm	Z	m
Z
mZddlm
Z
ndefd��YZdS(	i����N(t
get_supportedtversion_info_to_nodot(tnormalize_version_info(tMYPY_CHECK_RUNNING(tListtOptionaltTuple(tTagtTargetPythoncBsPeZdZdddddddgZddddd�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
RRR
RR(tselfRRR
RR
((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	<genexpr>RsRRR
Rt 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	<genexpr>\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.pyt<module>s

?>