Viewing File: /usr/lib/python3.6/site-packages/pip/commands/__pycache__/freeze.cpython-36.pyc

3

aj@sdddlmZddlZddlZddlmZddlmZddlm	Z	ddl
mZd
ZGdddeZ
dS))absolute_importN)stdlib_pkgs)Command)freeze)
WheelCachepip
setuptools
distributewheelcs8eZdZdZdZdZdZd
ZfddZdd	Z	Z
S)
FreezeCommandzx
    Output installed packages in requirements format.

    packages are listed in a case-insensitive sorted order.
    rz
      %prog [options]z1Output installed packages in requirements format.ext://sys.stderrc	stt|j|||jjddddgddd|jjdd	d
dgddd|jjd
dddddd|jjdddddd|jjdddddjtd|jjd|jdS)Nz-rz
--requirementrequirementsappendfilez}Use the order in the given requirements file and its comments when generating output. This option can be used multiple times.)destactiondefaultmetavarhelpz-fz--find-links
find_linksZURLz<URL for finding packages, which will be added to the output.z-lz--locallocal
store_trueFzUIf in a virtualenv that has global access, do not output globally-installed packages.)rrrrz--useruserz,Only output packages installed in user-site.z--all
freeze_allz,Do not skip these packages in the output: %sz, )rrrr)	superr__init__Zcmd_optsZ
add_optionjoinDEV_PKGSparserZinsert_option_group)selfargskw)	__class__/usr/lib/python3.6/freeze.pyrsDzFreezeCommand.__init__c
Cstjjtt}t|j|}tt}|js6|jt	t
|j|j|j
|j|j|j||d}x"tf|D]}tjj|dqfWdS)N)ZrequirementrZ
local_onlyZ	user_onlyZ
skip_regexisolatedwheel_cacheskip
)rindexZ
FormatControlsetr	cache_dirrrupdaterdictr
rrrZskip_requirements_regexZ
isolated_modersysstdoutwrite)rZoptionsr Zformat_controlr&r'Z
freeze_kwargsliner#r#r$runEs 
zFreezeCommand.run)rr)__name__
__module____qualname____doc__nameZusageZsummaryZlog_streamsrr2
__classcell__r#r#)r"r$rs*r)rrr	r
)Z
__future__rr.rZ
pip.compatrZpip.basecommandrZpip.operations.freezerZ	pip.wheelrrrr#r#r#r$<module>s
Back to Directory File Manager