zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
U
H=®d| ã@s°ddlmZddlZddlmZddlmZddlmZddl    m
Z
ddl m Z ddl mZdd    lmZdd
lmZd d d dhZerœddlmZddlmZGdd„deƒZdS)é)Úabsolute_importN)Ú
WheelCache)Ú
cmdoptions)ÚCommand)ÚSUCCESS)Ú FormatControl)Úfreeze)Ú stdlib_pkgs)ÚMYPY_CHECK_RUNNINGÚpipÚ
setuptoolsZ
distributeÚwheel)ÚValues)ÚListc@s(eZdZdZdZdZdd„Zdd„ZdS)    Ú FreezeCommandzx
    Output installed packages in requirements format.
 
    packages are listed in a case-insensitive sorted order.
    z
      %prog [options])úext://sys.stderrrc    Csº|jjddddgddd|jjdd    d
dgd d d|jjd dddddd|jjdddddd|j t ¡¡|jjdddd d 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_linksÚURLz<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: {}z, )rrrz--exclude-editableÚexclude_editablez%Exclude editable package from output.r)    Úcmd_optsÚ
add_optionrÚ    list_pathÚformatÚjoinÚDEV_PKGSÚparserÚinsert_option_group)Úself©r*úTD:\z\workplace\VsCode\pyvenv\venv\Lib\site-packages\pip/_internal/commands/freeze.pyÚ add_options sbú    úûûÿüüzFreezeCommand.add_optionsc Csˆttƒtƒƒ}t|j|ƒ}ttƒ}|js2| t¡t     |¡t
|j |j |j |j|j|j|||jd    }tf|ŽD]}tj |d¡qntS)N)    Ú requirementrÚ
local_onlyÚ    user_onlyÚpathsÚisolatedÚ wheel_cacheÚskipr Ú
)rÚsetrÚ    cache_dirr    rÚupdater&rÚcheck_list_path_optionÚdictrrrrÚpathÚ isolated_moder rÚsysÚstdoutÚwriter)r)ÚoptionsÚargsÚformat_controlr2r3Z freeze_kwargsÚliner*r*r+ÚrunOs( 
 
÷ zFreezeCommand.runN)Ú__name__Ú
__module__Ú __qualname__Ú__doc__ÚusageÚ log_streamsr,rCr*r*r*r+rs
/r)Ú
__future__rr<Úpip._internal.cacherZpip._internal.clirÚpip._internal.cli.base_commandrÚpip._internal.cli.status_codesrÚ#pip._internal.models.format_controlrZpip._internal.operations.freezerÚpip._internal.utils.compatr    Úpip._internal.utils.typingr
r&ÚoptparserÚtypingrrr*r*r*r+Ú<module>s