ok

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/hash.pyo

�
x�_c@@s�ddlmZddlZddlZddlZddlmZddlmZm	Z	ddl
mZmZddl
mZmZddlmZer�ddlmZdd	lmZneje�Zd
efd��YZd�ZdS(
i(tabsolute_importN(tCommand(tERRORtSUCCESS(t
FAVORITE_HASHt
STRONG_HASHES(tread_chunkstwrite_output(tMYPY_CHECK_RUNNING(tValues(tListtHashCommandcB@s,eZdZdZeZd�Zd�ZRS(s�
    Compute a hash of a local package archive.

    These can be used with --hash in a requirements file to do repeatable
    installs.
    s%prog [options] <file> ...cC@s]|jjdddddtdddtd	d
jdjt���|jjd|j�dS(
Ns-as--algorithmtdestt	algorithmtchoicestactiontstoretdefaultthelps$The hash algorithm to use: one of {}s, i(tcmd_optst
add_optionRRtformattjointparsertinsert_option_group(tself((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/hash.pytadd_optionss		cC@sW|s|jjtj�tS|j}x*|D]"}td||t||��q-WtS(Ns%s:
--hash=%s:%s(	Rtprint_usagetsyststderrRR
Rt
_hash_of_fileR(RtoptionstargsR
tpath((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/hash.pytrun+s	
(t__name__t
__module__t__doc__tusagetTruetignore_require_venvRR"(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/hash.pyRs
	cC@sUt|d��:}tj|�}x!t|�D]}|j|�q.WWdQX|j�S(s!Return the hash digest of a file.trbN(topenthashlibtnewRtupdatet	hexdigest(R!R
tarchivethashtchunk((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/hash.pyR8s
(t
__future__RR+tloggingRtpip._internal.cli.base_commandRtpip._internal.cli.status_codesRRtpip._internal.utils.hashesRRtpip._internal.utils.miscRRtpip._internal.utils.typingRtoptparseR	ttypingR
t	getLoggerR#tloggerRR(((sL/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/hash.pyt<module>s$

Zerion Mini Shell 1.0