????

Your IP : 216.73.216.152


Current Path : /proc/self/root/proc/self/root/lib/python2.7/site-packages/pip/_internal/commands/
Upload File :
Current File : //proc/self/root/proc/self/root/lib/python2.7/site-packages/pip/_internal/commands/download.pyc

�
}�\]c@@s�ddlmZddlZddlZddlmZddlmZddlm	Z	ddl
mZddlm
Z
ddlmZdd	lmZdd
lmZddlmZmZddlmZeje�Zd
efd��YZdS(i(tabsolute_importN(t
cmdoptions(tRequirementCommand(tmake_target_python(tResolver(tRequirementPreparer(tRequirementSet(tRequirementTracker(tcheck_path_owner(t
ensure_dirtnormalize_path(t
TempDirectorytDownloadCommandcB@s2eZdZdZdZdZd�Zd�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.
    tdownloads
      %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> ...sDownload packages.c
O@s�tt|�j||�|j}|jtj��|jtj��|jtj��|jtj	��|jtj
��|jtj��|jtj��|jtj
��|jtj��|jtj��|jtj��|jtj��|jtj��|jtj��|jtj��|jtj��|jddddddddd	tjd
d�tj|�tjtj|j�}|jjd|�|jjd|�dS(
Ns-ds--dests--destination-dirs--destination-directorytdesttdownload_dirtmetavartdirtdefaultthelpsDownload packages into <dir>.i(tsuperRt__init__tcmd_optst
add_optionRtconstraintstrequirementst	build_dirtno_depstglobal_optionst	no_binarytonly_binaryt
prefer_binarytsrctpretno_cleantrequire_hashestprogress_bartno_build_isolationt
use_pep517t
no_use_pep517tostcurdirtadd_target_python_optionstmake_option_grouptindex_grouptparsertinsert_option_group(tselftargstkwRt
index_opts((s>/tmp/pip-install-ewDPok/pip/pip/_internal/commands/download.pyR+s<		
c'C@sQt|_g|_tj|�tjj|j�|_t	|j
�|_
t|j
�|j|���}t
|�}|jd|d|d|�}|jp�|j}|jr�t|j�r�tjd|j�d|_nt��_}t|jd|dd��;}td|j�}	|j|	|||||jd�td	|jd
|jd|j
ddd
|jd|jd|�}
td|
d|d|dddt dddt d|j!d|j"dt dtd|j#�}|j$|	�dj%g|	j&D]}|j^q��}
|
r%tj'd|
�n|js;|	j(�nWdQXWdQXWdQX|	S(Ntoptionstsessiont
target_pythons�The directory '%s' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.tdeletetkindR
R#Rtsrc_dirRtwheel_download_dirR$tbuild_isolationtreq_trackertpreparertfindertwheel_cachet
use_user_sitetupgrade_strategysto-satisfy-onlytforce_reinstalltignore_dependenciestpy_version_infotignore_requires_pythontignore_installedtisolatedt sSuccessfully downloaded %s()tTrueREt	editablesRtcheck_dist_restrictionR(tpathtabspathR8R
RR	t_build_sessionRt_build_package_finderR"Rt	cache_dirRtloggertwarningtNoneRRRR#tpopulate_requirement_settnameRR$R:RtFalseRBtpython_versiont
isolated_modetresolvetjointsuccessfully_downloadedtinfot
cleanup_files(R/R3R0R4R5R=tbuild_deleteR;t	directorytrequirement_setR<tresolvertreqt
downloaded((s>/tmp/pip-install-ewDPok/pip/pip/_internal/commands/download.pytrunSsz		

		
								
"	(t__name__t
__module__t__doc__RTtusagetsummaryRRc(((s>/tmp/pip-install-ewDPok/pip/pip/_internal/commands/download.pyRs	((t
__future__RtloggingR(tpip._internal.cliRtpip._internal.cli.base_commandRtpip._internal.cli.cmdoptionsRtpip._internal.legacy_resolveRt pip._internal.operations.prepareRtpip._internal.reqRtpip._internal.req.req_trackerRtpip._internal.utils.filesystemRtpip._internal.utils.miscR	R
tpip._internal.utils.temp_dirRt	getLoggerRdRPR(((s>/tmp/pip-install-ewDPok/pip/pip/_internal/commands/download.pyt<module>s