HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/python38/lib/python3.8/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-38.pyc
U

�{�ed�@s�ddlZddlmZddlmZmZddlmZddlm	Z	ddl
mZddlm
Z
ddlmZed	�d
d�Zeed	�dd
�ZGdd�de	�ZdS)�N)�Values)�AbstractSet�List)�
cmdoptions)�Command)�SUCCESS)�freeze)�stdlib_pkgs��returncCs
tjdkS)N)��)�sys�version_info�rr�A/tmp/pip-unpacked-wheel-_0scjqea/pip/_internal/commands/freeze.py�_should_suppress_build_backendssrcCsdh}t�r|dddhO}|S)N�pip�
setuptoolsZ
distribute�wheel)r)�pkgsrrr�	_dev_pkgssrc@s<eZdZdZdZdZdd�dd�Zeee	e
d�d	d
�ZdS)�
FreezeCommandzx
    Output installed packages in requirements format.

    packages are listed in a case-insensitive sorted order.
    z
      %prog [options])�ext://sys.stderrrNr
c	Cs�|jjddddgddd�|jjdd	d
ddd
d�|jjdddddd�|j�t���|jjdddd�d�t���d�|jjddddd�|j�t���|j�	d|j�dS)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.)rrrr!z--user�userz,Only output packages installed in user-site.z--all�
freeze_allz,Do not skip these packages in the output: {}z, )rrr!z--exclude-editable�exclude_editablez%Exclude editable package from output.r)
�cmd_opts�
add_optionr�	list_path�format�joinrZlist_exclude�parser�insert_option_group)�selfrrr�add_options$sR�
��
��	�zFreezeCommand.add_options)�options�argsrc	Csrtt�}|js|�t��|jr,|�|j�t�|�t|j	|j
|j|j|j
||jd�D]}tj�|d�qXtS)N)�requirement�
local_only�	user_only�paths�isolated�skipr&�
)�setr	r%�updaterZexcludesr�check_list_path_optionrrr"r$�path�
isolated_moder&r�stdout�writer)r.r0r1r7�linerrr�runXs"
�
	zFreezeCommand.run)�__name__�
__module__�__qualname__�__doc__�usage�log_streamsr/rr�str�intrArrrrrs
4r)r�optparser�typingrrZpip._internal.clir�pip._internal.cli.base_commandr�pip._internal.cli.status_codesrZpip._internal.operations.freezer�pip._internal.utils.compatr	�boolrrHrrrrrr�<module>s