σ οRec@@sρddlmZddlZddlmZddlmZddlmZddl m Z ddl m Z ddl mZdd lmZdd lmZd d d dhZerΧddlmZddlmZndefd„ƒYZdS(i(tabsolute_importN(t WheelCache(t cmdoptions(tCommand(tSUCCESS(t FormatControl(tfreeze(t stdlib_pkgs(tMYPY_CHECK_RUNNINGtpipt setuptoolst distributetwheel(tValues(tListt FreezeCommandcB@s,eZdZdZdZd„Zd„ZRS(sx Output installed packages in requirements format. packages are listed in a case-insensitive sorted order. s %prog [options]sext://sys.stderrc C@s;|jjdddddddgdd d d ƒ|jjd d dddddgddd dƒ|jjdddddddtd dƒ|jjddddddtd dƒ|jjtjƒƒ|jjdddddd djdjtƒƒƒ|jjdddddd dƒ|jj d |jƒdS(!Ns-rs --requirementtdestt requirementstactiontappendtdefaulttmetavartfilethelps}Use the order in the given requirements file and its comments when generating output. This option can be used multiple times.s-fs --find-linkst find_linkstURLs<URL for finding packages, which will be added to the output.s-ls--localtlocalt store_truesUIf in a virtualenv that has global access, do not output globally-installed packages.s--usertusers,Only output packages installed in user-site.s--allt freeze_alls,Do not skip these packages in the output: {}s, s--exclude-editabletexclude_editables%Exclude editable package from output.i( tcmd_optst add_optiontFalseRt list_pathtformattjointDEV_PKGStparsertinsert_option_group(tself((sŒ/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/freeze.pyt add_options sN         cC@sάttƒtƒƒ}t|j|ƒ}ttƒ}|jsL|jtƒntj |ƒt d|j d|j d|j d|jd|jd|jd|d|d |jƒ }x(t|D]}tjj|d ƒqΊWtS( Nt requirementRt local_onlyt user_onlytpathstisolatedt wheel_cachetskipRs (RtsetRt cache_dirRRtupdateR%Rtcheck_list_path_optiontdictRRRRtpatht isolated_modeRRtsyststdouttwriteR(R(toptionstargstformat_controlR/R0t freeze_kwargstline((sŒ/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/freeze.pytrunOs&          (sext://sys.stderrsext://sys.stderr(t__name__t __module__t__doc__tusaget log_streamsR)R@(((sŒ/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/freeze.pyRs  /(t __future__RR8tpip._internal.cacheRtpip._internal.cliRtpip._internal.cli.base_commandRtpip._internal.cli.status_codesRt#pip._internal.models.format_controlRtpip._internal.operations.freezeRtpip._internal.utils.compatRtpip._internal.utils.typingRR%toptparseR ttypingRR(((sŒ/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/freeze.pyts