HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.10/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-310.pyc
o

��i��@sxddlZddlmZddlmZddlmZddlmZddl	m
Z
ddlmZddl
mZhd	�ZGd
d�de�ZdS)�N)�Values)�List)�
cmdoptions)�Command)�SUCCESS)�freeze)�stdlib_pkgs>�pip�wheel�
setuptoolsZ
distributec@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.
    z
      %prog [options])�ext://sys.stderrr
�returnNc	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�join�DEV_PKGS�list_exclude�parser�insert_option_group)�self�r&�H/usr/local/lib/python3.10/site-packages/pip/_internal/commands/freeze.py�add_optionssP�
���	�zFreezeCommand.add_options�options�argsc	Csptt�}|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�sys�stdout�writer)r%r)r*r0�liner&r&r'�runMs"


�	zFreezeCommand.run)rN)�__name__�
__module__�__qualname__�__doc__�usage�log_streamsr(rr�str�intr<r&r&r&r'rs
4r)r8�optparser�typingrZpip._internal.clir�pip._internal.cli.base_commandr�pip._internal.cli.status_codesrZpip._internal.operations.freezer�pip._internal.utils.compatrr!rr&r&r&r'�<module>s