ó •abc@@sˆddlmZddlZddlZddlmZddlmZddlm Z ddl m Z d Z d efd „ƒYZ dS(i(tabsolute_importN(t stdlib_pkgs(tCommand(tfreeze(t WheelCachetpipt 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@stt|ƒj||Ž|jjdddddddgdd d d ƒ|jjd d dddddgddd dƒ|jjdddddddtd dƒ|jjddddddtd dƒ|jjdddddd ddjtƒƒ|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, i( tsuperR t__init__tcmd_optst add_optiontFalsetjointDEV_PKGStparsertinsert_option_group(tselftargstkw((s7/usr/lib/python2.7/site-packages/pip/commands/freeze.pyRsD        cC@sÌtjjtƒtƒƒ}t|j|ƒ}ttƒ}|jsR|jt ƒnt d|j d|j d|j d|jd|jd|jd|d|ƒ}x(t|D]}tjj|d ƒqªWdS( Nt requirementRt local_onlyt user_onlyt skip_regextisolatedt wheel_cachetskips (Rtindext FormatControltsetRt cache_dirRRtupdateRtdictR RRRtskip_requirements_regext isolated_modeRtsyststdouttwrite(R!toptionsR"tformat_controlR)R*t freeze_kwargstline((s7/usr/lib/python2.7/site-packages/pip/commands/freeze.pytrunEs          (sext://sys.stderrsext://sys.stderr( t__name__t __module__t__doc__tnametusagetsummaryt log_streamsRR:(((s7/usr/lib/python2.7/site-packages/pip/commands/freeze.pyR s *(RRRR(t __future__RR3Rt pip.compatRtpip.basecommandRtpip.operations.freezeRt pip.wheelRRR (((s7/usr/lib/python2.7/site-packages/pip/commands/freeze.pyts