Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
imunify360
/
venv
/
lib64
/
python3.11
/
site-packages
/
pip
/
_internal
/
models
/
__pycache__
[ HOME ]
Exec
Submit
target_python.cpython-311.pyc
� 4�gh� � �h � d dl Z d dlmZmZmZmZ d dlmZ d dlm Z m Z d dlmZ G d� d� � Z dS )� N)�List�Optional�Set�Tuple)�Tag)� get_supported�version_info_to_nodot)�normalize_version_infoc �� � e Zd ZdZg d�Z ddeee deee df deee dee d df d �Z d efd�Zd ee fd�Z d ee fd �ZdS )�TargetPythonzx Encapsulates the properties of a Python interpreter one is targeting for a package install, download, etc. )�_given_py_version_info�abis�implementation� platforms� py_version�py_version_info�_valid_tags�_valid_tags_setNr r .r r �returnc �" � || _ |�t j dd� }nt |� � }d� t t |dd� � � � � }|| _ || _ || _ || _ || _ d| _ d| _ dS )a< :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. N� �.� )r �sys�version_infor �join�map�strr r r r r r r )�selfr r r r r s ��/builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/models/target_python.py�__init__zTargetPython.__init__ s� � �, '6��#��"�!�.�r��r�2�O�O�4�_�E�E�O��X�X�c�#��r��r�':�;�;�<�<� ��� �,���"���$���.��� 15���37����� c �� � d}| j �$d� d� | j D � � � � }d| j fd|fd| j fd| j fg}d� d � |D � � � � S ) zD Format the given, non-None attributes for display. Nr c 3 �4 K � | ]}t |� � V � �d S )N)r )�.0�parts r � <genexpr>z,TargetPython.format_given.<locals>.<genexpr>J s9 � � � � '� '�"��D� � �'� '� '� '� '� 'r"