KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /usr/lib/python2.7/site-packages/pip/commands/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python2.7/site-packages/pip/commands/download.pyc
�
r2Wc@@s�ddlmZddlZddlZddlmZddlmZddlm	Z	ddl
mZmZddl
mZddlmZeje�Zd	efd
��YZdS(i(tabsolute_importN(tRequirementSet(tRequirementCommand(t
cmdoptions(t
ensure_dirtnormalize_path(tBuildDirectory(tcheck_path_ownertDownloadCommandcB@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] [-e] <vcs project url> ...
      %prog [options] [-e] <local project path> ...
      %prog [options] <archive url/path> ...sDownload packages.c
O@sytt|�j||�|j}|jtj��|jtj��|jtj��|jtj	��|jtj
��|jtj��|jtj��|jtj
��|jtj��|jtj��|jtj��|jtj��|jddddddddd	tjd
d�tjtj|j�}|jjd|�|jjd|�dS(
Ns-ds--dests--destination-dirs--destination-directorytdesttdownload_dirtmetavartdirtdefaultthelpsDownload packages into <dir>.i(tsuperRt__init__tcmd_optst
add_optionRtconstraintsteditabletrequirementst	build_dirtno_depstglobal_optionst	no_binarytonly_binarytsrctpretno_cleantrequire_hashestostcurdirtmake_option_grouptnon_deprecated_index_grouptparsertinsert_option_group(tselftargstkwRt
index_opts((s9/usr/lib/python2.7/site-packages/pip/commands/download.pyR(s2		c
C@s�t|_tjj|j�|_t|j�|_t|j�|j	|��]}|j
||�}|jps|j}|j
r�t|j
�r�tjd|j
�d|_
nt|jd|���}td|d|jd|jdtd|jd|d	|jd
|j�}|j||||||jd�|js>dS|j|�djg|jD]}|j^q[�}	|	r�tjd|	�n|js�|j�nWdQXWdQX|S(
Ns�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.tdeleteRtsrc_dirRtignore_installedtignore_dependenciestsessiontisolatedRt sSuccessfully downloaded %s(tTrueR,R tpathtabspathR+RRRt_build_sessiont_build_package_finderRRt	cache_dirRtloggertwarningtNoneRRR-t
isolated_modeRtpopulate_requirement_settnamethas_requirementst
prepare_filestjointsuccessfully_downloadedtinfot
cleanup_files(
R&toptionsR'R.tfindertbuild_deleteRtrequirement_settreqt
downloaded((s9/usr/lib/python2.7/site-packages/pip/commands/download.pytrunJsT	

					
"
	(t__name__t
__module__t__doc__R<tusagetsummaryRRI(((s9/usr/lib/python2.7/site-packages/pip/commands/download.pyRs	"(t
__future__RtloggingR tpip.reqRtpip.basecommandRtpipRt	pip.utilsRRtpip.utils.buildRtpip.utils.filesystemRt	getLoggerRJR7R(((s9/usr/lib/python2.7/site-packages/pip/commands/download.pyt<module>s

Anon7 - 2021