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.7/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-37.pyc
B

L��gd�@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-hv55ucu3/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])zext://sys.stderrzext://sys.stderrN)r
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.)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�joinrZlist_exclude�parser�insert_option_group)�selfrrr�add_options$sFzFreezeCommand.add_options)�options�argsr
c	Csvtt�}|js|�t��|jr,|�|j�t�|�x:t|j	|j
|j|j|j
||jd�D]}tj�|d�qZWtS)N)�requirement�
local_only�	user_only�paths�isolated�skipr$�
)�setr	r#�updaterZexcludesr�check_list_path_optionrrr r"�path�
isolated_moder$r
�stdout�writer)r,r.r/r5�linerrr�runXs 
zFreezeCommand.run)�__name__�
__module__�__qualname__�__doc__�usage�log_streamsr-rr�str�intr?rrrrrs
4r)r
�optparser�typingrrZpip._internal.clir�pip._internal.cli.base_commandr�pip._internal.cli.status_codesrZpip._internal.operations.freezer�pip._internal.utils.compatr	�boolrrFrrrrrr�<module>s