| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pip/_internal/commands/__pycache__/ |
Upload File : |
�
�/�c� � � � d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl m
Z
d dlmZ d dl
mZ h d �Z G d
� de� � ZdS )� N)�Values)�List)�
cmdoptions)�Command)�SUCCESS)�freeze)�stdlib_pkgs> �
pkg-resources�pip�wheel�
distribute�
setuptoolsc �B � e Zd ZdZdZdZd
d�Zdedee de
fd �ZdS )�
FreezeCommandzx
Output installed packages in requirements format.
packages are listed in a case-insensitive sorted order.
z
%prog [options])�ext://sys.stderrr �returnNc
� � | j � ddddg dd�� � | j � dd d
ddd
�� � | j � ddddd�� � | j � t j � � � � | j � dddd� d� t � � � � �� � | j � dddd�� � | j � t j � � � � | j � d| j � � d S )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.)r r r r z--user�userz,Only output packages installed in user-site.z--all�
freeze_allz,Do not skip these packages in the output: {}z, )r r r z--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)�selfs �?/usr/lib/python3/dist-packages/pip/_internal/commands/freeze.py�add_optionszFreezeCommand.add_options sr � ��
� � �������'� !�
�
�
�
�
� � ������/� !�
�
�
�
�
� � �����?� !�
�
�
�
�
� � ��!5�!7�!7�8�8�8��
� � ������f�T�Y�Y�x�0�0�1�1�
!�
�
�
�
�
� � � �#��8� !�
�
�
�
�
� � ��!8�!:�!:�;�;�;���'�'��4�=�9�9�9�9�9� �options�argsc � � t t � � }|j s|� t � � |j r|� |j � � t
j |� � t |j |j
|j |j |j
||j �� � D ]$}t j � |dz � � �%t$ S )N)�requirement�
local_only� user_only�paths�isolated�skipr �
)�setr r �updater&