HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/pip/_internal/commands/__pycache__/freeze.cpython-310.pyc
o

��h�@s�ddlZddlmZddlmZddlmZddlmZddl	m
Z
ddlmZde
fd	d
�Zdeefdd�ZGd
d�de�ZdS)�N)�Values)�
cmdoptions)�Command)�SUCCESS)�freeze)�stdlib_pkgs�returncCs
tjdkS)N)��)�sys�version_info�r
r
�H/usr/local/lib/python3.10/dist-packages/pip/_internal/commands/freeze.py�_should_suppress_build_backendss
rcCsdh}t�r|hd�O}|S)N�pip>�wheel�
distribute�
setuptools)r)�pkgsr
r
r�	_dev_pkgssrc@s<eZdZdZdZdZddd�Zded	ee	de
fd
d�ZdS)
�
FreezeCommandzx
    Output installed packages in requirements format.

    packages are listed in a case-insensitive sorted order.
    Tz
      %prog [options]rNc	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.)rrrrz--user�userz,Only output packages installed in user-site.z--all�
freeze_allz,Do not skip these packages in the output: {}z, )rrrz--exclude-editable�exclude_editablez%Exclude editable package from output.r)
�cmd_opts�
add_optionr�	list_path�format�joinr�list_exclude�parser�insert_option_group)�selfr
r
r�add_options#sP�
���	�zFreezeCommand.add_options�options�argsc	Csrtt�}|js
|�t��|jr|�|j�t�|�t|j	|j
|j|j|j
||jd�D]
}tj�|d�q,tS)N)�requirement�
local_only�	user_only�paths�isolated�skipr#�
)�setrr"�updater�excludesr�check_list_path_optionrrrr!�path�
isolated_moder#r�stdout�writer)r,r.r/r5�liner
r
r�runWs"

�	zFreezeCommand.run)rN)�__name__�
__module__�__qualname__�__doc__�ignore_require_venv�usager-r�list�str�intr@r
r
r
rrs
4r)r�optparser�pip._internal.clir�pip._internal.cli.base_commandr�pip._internal.cli.status_codesr�pip._internal.operations.freezer�pip._internal.utils.compatr�boolrr7rHrrr
r
r
r�<module>s