HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-311.pyc
�

�mi���f�ddlmZddlZddlZddlZddlZddlmZddlm	Z	ddl
mZddlZ
ddlmZddlmZddlmZdd	lmZdd
lmZddlmZddlmZdd
lmZddlm Z ddl!m"Z"ddl#m$Z$ej%e&��Z'd+d�Z(d,d�Z)d-d�Z*d.d�Z+d/d�Z,d0d!�Z-d,d"�Z.d1d%�Z/d2d(�Z0Gd)�d*e��Z1dS)3�)�annotationsN)�Values)�
ModuleType)�Any)�where)�parse)�
cmdoptions)�Command)�make_target_python)�SUCCESS)�
Configuration)�get_environment)�open_text_resource)�
indent_log)�get_pip_version�name�str�valuer�return�Nonec�>�t�d||��dS)Nz%s: %s)�logger�info)rrs  �>D:\Python311\Lib\site-packages\pip/_internal/commands/debug.py�
show_valuers��
�K�K��$��&�&�&�&�&�c���t�d��tjj}t��5t
d|��ddd��dS#1swxYwYdS)Nzsys.implementation:r)rr�sys�implementationrrr)�implementation_names r�show_sys_implementationr! s���
�K�K�%�&�&�&��,�1��	���0�0��6�.�/�/�/�0�0�0�0�0�0�0�0�0�0�0�0����0�0�0�0�0�0s�A�A�A�dict[str, str]c��tdd��5}d�|���D��}ddd��n#1swxYwYtd�|D����S)Nzpip._vendorz
vendor.txtc�r�g|]4}d|v�|����dd��d��5S)�==� �r)�strip�split��.0�lines  r�
<listcomp>z)create_vendor_txt_map.<locals>.<listcomp>+sN��
�
�
�.2�t�t�|�
��J�J�L�L���s�A�&�&�q�)�
�
�
rc3�BK�|]}|�dd��V��dS)r%r'N�r)r*s  r�	<genexpr>z(create_vendor_txt_map.<locals>.<genexpr>0s0����6�6���
�
�4��#�#�6�6�6�6�6�6r)r�	readlines�dict)�f�liness  r�create_vendor_txt_mapr5's���	�M�<�	8�	8�
�A�
�
�67�k�k�m�m�
�
�
��
�
�
�
�
�
�
�
�
�
�
����
�
�
�
��6�6��6�6�6�6�6�6s�<�A�A�module_name�ModuleType | Nonec�D�|����dd��}|dkrd}	td|��t��t	��d���ttj|��S#t$r|dkrtj
d	krYdS�wxYw)
N�-�_�
setuptools�
pkg_resourceszpip._vendor.r)�level�
truststore)��
)�lower�replace�
__import__�globals�locals�getattr�pip�_vendor�ImportErrorr�version_info)r6s r�get_module_from_module_namerK3s����#�#�%�%�-�-�c�3�7�7�K��l�"�&�%����/�+�/�/����F�H�H�A�N�N�N�N��s�{�K�0�0�0�������,�&�	�3�+;�g�+E�	��4�4�
����s�AA:�: B�B�
str | Nonec��t|��}t|dd��}|rh|sf|j�J�ttj�|j��g��}|�|��}|rt|j	��}|S)N�__version__)
rKrF�__file__r�os�path�dirname�get_distributionr�version)r6�modulerT�env�dists     r�get_vendor_version_from_modulerXEs���
(��
5�
5�F��f�m�T�2�2�G�
�(�g�(���*�*�*��r�w���v��?�?�@�A�A���#�#�K�0�0���	(��$�,�'�'�G��Nr�vendor_txt_versionsc���|���D]`\}}d}t|��}|sd}|}n&t|��t|��krd|�d�}t�d|||���adS)z{Log the actual version and print extra info if there is
    a conflict or if the actual version could not be imported.
    �zM (Unable to locate actual module version, using vendor.txt specified version)z2 (CONFLICT: vendor.txt suggests version should be �)z%s==%s%sN)�itemsrX�
parse_versionrr)rYr6�expected_version�
extra_message�actual_versions     r�show_actual_vendor_versionsrbTs���*=�)B�)B�)D�)D�L�L�%��%��
�7��D�D���
	�1�
�.�N�N�
�>�
*�
*�m�<L�.M�.M�
M�	�+�'�+�+�+�
�	���J��^�]�K�K�K�K�L�Lrc���t�d��t��}t��5t	|��ddd��dS#1swxYwYdS)Nzvendored library versions:)rrr5rrb)rYs r�show_vendor_versionsrdis���
�K�K�,�-�-�-�/�1�1��	���9�9�#�$7�8�8�8�9�9�9�9�9�9�9�9�9�9�9�9����9�9�9�9�9�9s�A�A�A�optionsrc�,�d}t|��}|���}|���}d}|rd|�d�}dt|���|��}t�|��|jdkr t|��|kr
d}|d|�}nd}t��5|D])}t�t|�����*|r d	|�d
�}t�|��ddd��dS#1swxYwYdS)Nr@r[z
 (target: r\zCompatible tags: r'TFz...
[First z) tags shown. Pass --verbose to show all.])	r�get_sorted_tags�format_given�lenrr�verboserr)	re�	tag_limit�
target_python�tags�formatted_target�suffix�msg�tags_limited�tags	         r�	show_tagsrsqs~���I�&�w�/�/�M��(�(�*�*�D�%�1�1�3�3��
�F��2�1�.�1�1�1��
1�c�$�i�i�
1��
1�
1�C�
�K�K����������s�4�y�y�9�4�����J�Y�J������	������	"�	"�C��K�K��C���!�!�!�!��	�U��U�U�U�C��K�K�����
��������������������s�-AD	�	D
�D
�configr
c����d�|���D��}|sdSgd���fd�|D��}|sdSd|vr|�d��d�|��S)Nc�L�h|]!\}}|�dd��d��"S)�.r'rr/)r+�keyr:s   r�	<setcomp>z!ca_bundle_info.<locals>.<setcomp>�s/��
@�
@�
@�v�s�A�c�i�i��Q����"�
@�
@�
@rz
Not specified)�install�wheel�downloadc���g|]}|�v�|��	S�r~)r+r=�levels_that_override_globals  �rr-z"ca_bundle_info.<locals>.<listcomp>�s4�������U�.I�%I��
���r�globalz, )r]�remove�join)rt�levels�global_overriding_levelrs   @r�ca_bundle_infor��s����
@�
@������
@�
@�
@�F�����"B�"B�"B������!�����#���x��6�� ��
�
�h�����9�9�V���rc�*�eZdZdZdZdZdd�Zdd�Zd
S)�DebugCommandz$
    Display debug information.
    z
      %prog <options>Trrc��tj|j��|j�d|j��|jj���dS)Nr)r	�add_target_python_options�cmd_opts�parser�insert_option_grouprt�load)�selfs r�add_optionszDebugCommand.add_options�sL���,�T�]�;�;�;���'�'��4�=�9�9�9������!�!�!�!�!rrer�args�	list[str]�intc��t�d��tdt����tdtj��tdtj��tdt	j����tdt	j����tdtj
����tdtj��t��td	t|jj����td
t j�d
����tdt j�d����tdt'����td
t(jj��t/��t1|��t2S)Nz�This command is only meant for debugging. Do not use this with automation for parsing and getting these details, since the output and options of this command may change without notice.zpip versionzsys.versionzsys.executablezsys.getdefaultencodingzsys.getfilesystemencodingzlocale.getpreferredencodingzsys.platformz'cert' config value�REQUESTS_CA_BUNDLE�CURL_CA_BUNDLEzpip._vendor.certifi.where()zpip._vendor.DEBUNDLED)r�warningrrrrT�
executable�getdefaultencoding�getfilesystemencoding�locale�getpreferredencoding�platformr!r�r�rtrP�environ�getrrGrH�	DEBUNDLEDrdrsr)r�rer�s   r�runzDebugCommand.run�sw�����
%�	
�	
�	
�	�=�/�"3�"3�4�4�4��=�#�+�.�.�.��#�S�^�4�4�4��+�S�-C�-E�-E�F�F�F��.��0I�0K�0K�L�L�L��)��'�)�)�	
�	
�	
�	�>�3�<�0�0�0��!�!�!��(�.���9K�*L�*L�M�M�M��'�����8L�)M�)M�N�N�N��#�R�Z�^�^�4D�%E�%E�F�F�F��0�%�'�'�:�:�:��*�C�K�,A�B�B�B������'�����rN�rr)rerr�r�rr�)�__name__�
__module__�__qualname__�__doc__�usage�ignore_require_venvr�r�r~rrr�r��sS��������
�E���"�"�"�"�
�����rr�)rrrrrrr�)rr")r6rrr7)r6rrrL)rYr"rr)rerrr)rtr
rr)2�
__future__rr��loggingrPr�optparser�typesr�typingr�pip._vendorrG�pip._vendor.certifir�pip._vendor.packaging.versionrr^�pip._internal.clir	�pip._internal.cli.base_commandr
�pip._internal.cli.cmdoptionsr�pip._internal.cli.status_codesr�pip._internal.configurationr
�pip._internal.metadatar�pip._internal.utils.compatr�pip._internal.utils.loggingr�pip._internal.utils.miscr�	getLoggerr�rrr!r5rKrXrbrdrsr�r�r~rr�<module>r�sA��"�"�"�"�"�"�
�
�
�
�����	�	�	�	�
�
�
�
�����������������������%�%�%�%�%�%�@�@�@�@�@�@�(�(�(�(�(�(�2�2�2�2�2�2�;�;�;�;�;�;�2�2�2�2�2�2�5�5�5�5�5�5�2�2�2�2�2�2�9�9�9�9�9�9�2�2�2�2�2�2�4�4�4�4�4�4�	��	�8�	$�	$��'�'�'�'�0�0�0�0�	7�	7�	7�	7�����$����L�L�L�L�*9�9�9�9�����<����"+�+�+�+�+�7�+�+�+�+�+r