HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc
�

��h����ddlZddlmZddlmZmZddlmZddlm	Z	ddl
mZddlm
Z
ddlmZd	efd
�Zd	eefd�ZGd�d
e	�Zy)�N)�Values)�AbstractSet�List)�
cmdoptions)�Command)�SUCCESS)�freeze)�stdlib_pkgs�returnc�(�tjdkS)N)��)�sys�version_info���?/usr/lib/python3/dist-packages/pip/_internal/commands/freeze.py�_should_suppress_build_backendsrs�����g�%�%rc�<�dh}t�r|hd�z}|hd�z}|S)N�pip>�wheel�
distribute�
setuptools>�
pkg-resourcesrrr)r)�pkgss r�	_dev_pkgsrs*���7�D�&�(��5�5���F�F���Krc�:�eZdZdZdZdZd
d�Zdedee	de
fd	�Zy)�
FreezeCommandzx
    Output installed packages in requirements format.

    packages are listed in a case-insensitive sorted order.
    z
      %prog [options])�ext://sys.stderrrrNc��|jjddddgdd��|jjdd	d
ddd
��|jjddddd��|jjtj��|jjddddj	djt
�����|jjdddd��|jjtj��|jjd|j�y)Nz-rz
--requirement�requirements�append�filez}Use the order in the given requirements file and its comments when generating output. This option can be used multiple times.)�dest�action�default�metavar�helpz-lz--local�local�
store_trueFzUIf in a virtualenv that has global access, do not output globally-installed packages.)r$r%r&r(z--user�userz,Only output packages installed in user-site.z--all�
freeze_allz,Do not skip these packages in the output: {}z, )r$r%r(z--exclude-editable�exclude_editablez%Exclude editable package from output.r)
�cmd_opts�
add_optionr�	list_path�format�joinr�list_exclude�parser�insert_option_group)�selfs r�add_optionszFreezeCommand.add_options%s6���
�
� � �������'�	!�	
�	
�
�
� � ������/�	!�
	
�	
�
�
� � �����?�	!�	
�	
�
�
� � ��!5�!5�!7�8��
�
� � ������f�T�Y�Y�y�{�3�4�
	!�	
�	
�
�
� � � �#��8�		!�	
�	
�
�
� � ��!8�!8�!:�;����'�'��4�=�=�9r�options�argsc	���tt�}|js|jt	��|j
r|j|j
�t
j|�t|j|j|j|j|j||j��D]$}tj j#|dz��&t$S)N)�requirement�
local_only�	user_only�paths�isolated�skipr-�
)�setr
r,�updater�excludesr�check_list_path_optionr	r!r)r+�path�
isolated_moder-r�stdout�writer)r6r8r9r@�lines     r�runzFreezeCommand.runYs����;����!�!��K�K�	��$�����K�K��(�(�)��)�)�'�2���,�,��}�}��l�l��,�,��*�*��$�5�5�
�		*�D�
�J�J���T�D�[�)�		*��r)rN)�__name__�
__module__�__qualname__�__doc__�usage�log_streamsr7rr�str�intrKrrrrrs7���
�E�:�K�2:�h�6���c���s�rr)r�optparser�typingrr�pip._internal.clir�pip._internal.cli.base_commandr�pip._internal.cli.status_codesr�pip._internal.operations.freezer	�pip._internal.utils.compatr
�boolrrRrrrrr�<module>r\sH��
��$�(�2�2�2�2�&��&��;�s�#��S�G�Sr