<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
a
    Re                     @   sx   d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZ d dlmZ h d	ZG d
d deZdS )    N)Values)List)
cmdoptions)Command)SUCCESS)freeze)stdlib_pkgs>   
setuptoolswheelZ
distributepipc                   @   s<   e Zd ZdZdZdZddddZeee	 e
dd	d
ZdS )FreezeCommandzx
    Output installed packages in requirements format.

    packages are listed in a case-insensitive sorted order.
    z
      %prog [options])ext://sys.stderrr   N)returnc              	   C   s   | j jddddg ddd | j jdd	d
dddd | j jdddddd | j t  | j jdddddtd | j jddddd | j t  | 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)self r&   /builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/commands/freeze.pyadd_options   sR    	zFreezeCommand.add_options)optionsargsr   c              	   C   sp   t t}|js|t |jr*||j t| t|j	|j
|j|j|j||jdD ]}tj|d  qVtS )N)requirement
local_only	user_onlypathsisolatedskipr   
)setr   r   updater!   excludesr   check_list_path_optionr   r   r   r   pathisolated_moder   sysstdoutwriter   )r%   r)   r*   r0   liner&   r&   r'   runM   s"    


	zFreezeCommand.run)__name__
__module____qualname____doc__usagelog_streamsr(   r   r   strintr<   r&   r&   r&   r'   r      s
   4r   )r8   optparser   typingr   Zpip._internal.clir   pip._internal.cli.base_commandr   pip._internal.cli.status_codesr   Zpip._internal.operations.freezer   pip._internal.utils.compatr   r!   r   r&   r&   r&   r'   <module>   s   