Uname: Linux premium264.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.3.22 [ PHP INFO ] PHP os: Linux
Server Ip: 69.57.162.13
Your Ip: 216.73.216.219
User: workvvfb (1129) | Group: workvvfb (1084)
Safe Mode: OFF
Disable Function:
NONE

name : freeze.cpython-38.pyc
U

��.e�
�@s|ddlmZddlZddlmZddlmZddlmZddl	m
Z
ddlmZddl
mZd	d
ddhZGd
d�de�ZdS)�)�absolute_importN)�
WheelCache)�
cmdoptions)�Command)�
FormatControl)�freeze)�stdlib_pkgsZpipZ
setuptoolsZ
distributeZwheelcs0eZdZdZdZdZ�fdd�Zdd�Z�ZS)�
FreezeCommandzx
    Output installed packages in requirements format.

    packages are listed in a case-insensitive sorted order.
    z
      %prog [options])�ext://sys.stderrr
c	s�tt|�j||�|jjddddgddd�|jjdd	d
dgddd�|jjd
dddddd�|jjdddddd�|j�t���|jjddddd�t�d�|jjddddd�|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-fz--find-links�
find_linksZURLz<URL for finding packages, which will be added to the output.z-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: %sz, )rrrz--exclude-editable�exclude_editablez%Exclude editable package from output.r)�superr	�__init__Zcmd_optsZ
add_optionrZ	list_path�join�DEV_PKGS�parserZinsert_option_group)�self�args�kw��	__class__��A/usr/lib/python3.8/site-packages/pip/_internal/commands/freeze.pyrsd�	������zFreezeCommand.__init__cCs�tt�t��}t|j|�}tt�}|js2|�t�t�	|�t
|j|j|j
|j|j|j|j|||jd�
}z$tf|�D]}tj�|d�qtW5|��XdS)N)
ZrequirementrZ
local_onlyZ	user_only�pathsZ
skip_regex�isolated�wheel_cache�skipr�
)r�setr�	cache_dirrr�updaterrZcheck_list_path_option�dictrrrr�pathZskip_requirements_regexZ
isolated_moderZcleanupr�sys�stdout�write)rZoptionsrZformat_controlr'r(Z
freeze_kwargs�liner#r#r$�runMs,

�
zFreezeCommand.run)	�__name__�
__module__�__qualname__�__doc__ZusageZlog_streamsrr3�
__classcell__r#r#r!r$r	s
0r	)Z
__future__rr/Zpip._internal.cacherZpip._internal.clirZpip._internal.cli.base_commandrZ#pip._internal.models.format_controlrZpip._internal.operations.freezerZpip._internal.utils.compatrrr	r#r#r#r$�<module>s
© 2025 GrazzMean