ó â\e[c@@s˜ddlmZddlZddlmZddlmZddlmZddl m Z ddl m Z dd d d hZ d efd „ƒYZdS(i(tabsolute_importN(tindex(tCommand(t WheelCache(t stdlib_pkgs(tfreezetpipt setuptoolst distributetwheelt FreezeCommandcB@s8eZdZdZdZdZdZd„Zd„ZRS(sx Output installed packages in requirements format. packages are listed in a case-insensitive sorted order. Rs %prog [options]s1Output installed packages in requirements format.sext://sys.stderrc O@s9tt|ƒj||Ž|jjdddddddgdd d d ƒ|jjd d dddddgddd dƒ|jjdddddddtd dƒ|jjddddddtd dƒ|jjdddddd ddjtƒƒ|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: %ss, s--exclude-editabletexclude_editables%Exclude editable package from output.i( tsuperR t__init__tcmd_optst add_optiontFalsetjointDEV_PKGStparsertinsert_option_group(tselftargstkw((s</tmp/pip-install-0xiv62/pip/pip/_internal/commands/freeze.pyRsN         cC@sätjtƒtƒƒ}t|j|ƒ}ttƒ}|jsO|jtƒnt d|j d|j d|j d|j d|jd|jd|d|d |jƒ }z/x(t|D]}tjj|d ƒq³WWd|jƒXdS( Nt requirementRt local_onlyt user_onlyt skip_regextisolatedt wheel_cachetskipRs (Rt FormatControltsetRt cache_dirRRtupdateR tdictR RRRtskip_requirements_regext isolated_modeRRtsyststdouttwritetcleanup(R#toptionsR$tformat_controlR+R,t freeze_kwargstline((s</tmp/pip-install-0xiv62/pip/pip/_internal/commands/freeze.pytrunIs&         (sext://sys.stderrsext://sys.stderr( t__name__t __module__t__doc__tnametusagetsummaryt log_streamsRR<(((s</tmp/pip-install-0xiv62/pip/pip/_internal/commands/freeze.pyR s /(t __future__RR4t pip._internalRtpip._internal.basecommandRtpip._internal.cacheRtpip._internal.compatRtpip._internal.operations.freezeRR R (((s</tmp/pip-install-0xiv62/pip/pip/_internal/commands/freeze.pyts