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/download.pyo

�
x�_c@@sddlmZddlZddlZddlmZddlmZddlm	Z	m
Z
ddlmZddl
mZddlmZmZmZdd	lmZdd
lmZer�ddlmZddlmZneje�Zd
e	fd��YZdS(i(tabsolute_importN(t
cmdoptions(tmake_target_python(tRequirementCommandtwith_cleanup(tSUCCESS(tget_requirement_tracker(t
ensure_dirtnormalize_pathtwrite_output(t
TempDirectory(tMYPY_CHECK_RUNNING(tValues(tListtDownloadCommandcB@s,eZdZdZd�Zed��ZRS(sL
    Download packages from:

    - PyPI (and other indexes) using requirement specifiers.
    - VCS project urls.
    - Local project directories.
    - Local or remote source archives.

    pip also supports downloading from "requirements files", which provide
    an easy way to specify a whole environment to be downloaded.
    s
      %prog [options] <requirement specifier> [package-index-options] ...
      %prog [options] -r <requirements file> [package-index-options] ...
      %prog [options] <vcs project url> ...
      %prog [options] <local project path> ...
      %prog [options] <archive url/path> ...c
C@s�|jjtj��|jjtj��|jjtj��|jjtj��|jjtj��|jjtj��|jjtj	��|jjtj
��|jjtj��|jjtj��|jjtj
��|jjtj��|jjtj��|jjtj��|jjtj��|jjddddddddd	tjd
d�tj|j�tjtj|j�}|jjd|�|jjd|j�dS(
Ns-ds--dests--destination-dirs--destination-directorytdesttdownload_dirtmetavartdirtdefaultthelpsDownload packages into <dir>.i(tcmd_optst
add_optionRtconstraintstrequirementst	build_dirtno_depstglobal_optionst	no_binarytonly_binaryt
prefer_binarytsrctpretrequire_hashestprogress_bartno_build_isolationt
use_pep517t
no_use_pep517tostcurdirtadd_target_python_optionstmake_option_grouptindex_grouptparsertinsert_option_group(tselft
index_opts((sP/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/download.pytadd_options*s6		cC@s�t|_g|_tj|�t|j�|_t|j�|j|�}t	|�}|j
d|d|d|�}|jp�|j}|j
t��}t|jd|dddt�}|j||||�}	|jd|d|d	|d|d
|d|jdt�}
|jd
|
d
|d|d|j�}|j|�|j|	dt�}djg|jj�D]}
|
jrm|
j^qm�}|r�td|�ntS(Ntoptionstsessiont
target_pythontdeletetkindtdownloadtglobally_managedttemp_build_dirtreq_trackertfinderRt
use_user_sitetpreparertpy_version_infotcheck_supported_wheelst sSuccessfully downloaded %s(tTruetignore_installedt	editablesRtcheck_dist_restrictionRRRtget_default_sessionRt_build_package_findertno_cleanRt
enter_contextRR
tget_requirementstmake_requirement_preparertFalset
make_resolvertpython_versionttrace_basic_infotresolvetjoinRtvaluestsuccessfully_downloadedtnameR	R(R-R0targsR1R2R9tbuild_deleteR8t	directorytreqsR;tresolvertrequirement_settreqt
downloaded((sP/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/download.pytrunNsR		

								
	(t__name__t
__module__t__doc__tusageR/RRZ(((sP/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/download.pyRs	$(t
__future__RtloggingR&tpip._internal.cliRtpip._internal.cli.cmdoptionsRtpip._internal.cli.req_commandRRtpip._internal.cli.status_codesRtpip._internal.req.req_trackerRtpip._internal.utils.miscRRR	tpip._internal.utils.temp_dirR
tpip._internal.utils.typingRtoptparseRttypingR
t	getLoggerR[tloggerR(((sP/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/download.pyt<module>s

Zerion Mini Shell 1.0