403 Forbidden


Disable Functions:
Path : /lib/python2.7/site-packages/pip/commands/
File Upload :
Command :
Current File : //lib/python2.7/site-packages/pip/commands/list.pyc

�
r2Wc@@s�ddlmZddlZddlZddlmZddlmZddlm	Z	ddl
mZmZddl
mZddlmZmZeje�Zd	efd
��YZdS(i(tabsolute_importN(tCommand(tCommandError(t
PackageFinder(tget_installed_distributionstdist_is_editable(tRemovedInPip10Warning(tmake_option_grouptindex_grouptListCommandcB@sqeZdZdZdZdZd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�ZRS(
st
    List installed packages, including editables.

    Packages are listed in a case-insensitive sorted order.
    tlists
      %prog [options]sList installed packages.c
O@s-tt|�j||�|j}|jdddddtdd�|jdd	dddtdd
�|jdddddtdd
�|jdddddtdd�|jjddddddtdd�|jddddtdd�tt|j�}|jj	d|�|jj	d|�dS(Ns-os
--outdatedtactiont
store_truetdefaultthelpsList outdated packagess-us
--uptodatesList uptodate packagess-es
--editablesList editable projects.s-ls--localsSIf in a virtualenv that has global access, do not list globally-installed packages.s--usertdesttusers,Only output packages installed in user-site.s--presYInclude pre-release and development versions. By default, pip only finds stable versions.i(
tsuperR	t__init__tcmd_optst
add_optiontFalseRRtparsertinsert_option_group(tselftargstkwRt
index_opts((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyRsH						c
C@s7td|jd|d|jd|jd|jd|�S(sK
        Create a package finder appropriate to this list command.
        t
find_linkst
index_urlstallow_all_prereleasest
trusted_hoststprocess_dependency_linkstsession(RRtpreRR (RtoptionsRR!((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyt_build_package_finderLs				cC@s�|jrtjdt�n|jr8tjdt�n|jrTtjdt�n|jru|jrutd��n|jr�|j	|�n&|jr�|j
|�n
|j|�dS(Ns�--allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.s�--allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.s�--allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.s5Options --outdated and --uptodate cannot be combined.(tallow_externaltwarningstwarnRtallow_all_externaltallow_unverifiedtoutdatedtuptodateRtrun_outdatedtrun_uptodatetrun_listing(RR#R((s5/usr/lib/python2.7/site-packages/pip/commands/list.pytrunYs(	
	
	
		cC@sgx`t|j|�dd��D]@\}}}||jkrtjd|j|�||�qqWdS(NtkeycS@s|djj�S(Ni(tproject_nametlower(tp((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyt<lambda>ss%s - Latest: %s [%s](tsortedtfind_packages_latest_versionstparsed_versiontloggertinfotoutput_package(RR#tdisttlatest_versionttyp((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyR,|sc
c@s�|jg|j}|jr>tjddj|��g}ng}xTtd|jd|jd|j	�D].}|j
d�ri|j|jd��qiqiW|j
|���}|j|||�}|j|�td|jd|jd|j	�}x�|D]�}d}|j|j�}	|jsIg|	D]}
|
jjs(|
^q(}	n|	sUq�nt|	d|j�}|j}|jjr�d	}nd
}|||fVq�WWdQXdS(NsIgnoring indexes: %st,t
local_onlyt	user_onlyteditables_onlysdependency_links.txttunknownR0twheeltsdist(t	index_urltextra_index_urlstno_indexR8R9tjoinRtlocalRteditablethas_metadatatextendtget_metadata_linest_build_sessionR$tadd_dependency_linkstfind_all_candidatesR0R"tversiont
is_prereleasetmaxt_candidate_sort_keytlocationtis_wheel(
RR#Rtdependency_linksR;R!tfindertinstalled_packagesR=tall_candidatest	candidatetbest_candidatetremote_version((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyR6�sD					
		
	
			cC@s5td|jd|jd|j�}|j|�dS(NR?R@RA(RRIRRJtoutput_package_listing(RR#RY((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyR.�s
		cC@s>t|�r&d|j|j|jfSd|j|jfSdS(Ns%s (%s, %s)s%s (%s)(RR1RQRU(RR;((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyR:�scC@s@t|dd��}x$|D]}tj|j|��qWdS(NR0cS@s
|jj�S(N(R1R2(R;((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyR4�s(R5R8R9R:(RRYR;((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyR^�s

cC@sYg}x?|j|�D].\}}}|j|kr|j|�qqW|j|�dS(N(R6R7tappendR^(RR#R+R;RQR=((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyR-�s
(t__name__t
__module__t__doc__tnametusagetsummaryRR$R/R,R6R.R:R^R-(((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyR	s	/	
	#	
	,		
	(t
__future__RtloggingR&tpip.basecommandRtpip.exceptionsRt	pip.indexRt	pip.utilsRRtpip.utils.deprecationRtpip.cmdoptionsRRt	getLoggerR`R8R	(((s5/usr/lib/python2.7/site-packages/pip/commands/list.pyt<module>s

404 Not Found
[ LogOut ]