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/install.pyo
�
>�P_c@@scddlmZddlZddlZddlZddlZddlZddlZyddlZWne	k
r�dZnXddlmZddl
mZddlmZmZddlmZmZmZddlmZddlmZdd	lmZdd
lmZddlmZddl m!Z!m"Z"ej#e$�Z%d
efd��YZ&dS(i(tabsolute_importN(tRequirementSet(tRequirementCommand(tvirtualenv_no_globaltdistutils_scheme(tInstallationErrortCommandErrortPreviousBuildDirError(t
cmdoptions(t
ensure_dir(tBuildDirectory(tRemovedInPip10Warning(tcheck_path_owner(t
WheelCachetWheelBuildertInstallCommandcB@s2eZdZdZdZdZd�Zd�ZRS(sI
    Install packages from:

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

    pip also supports installing from "requirements files", which provide
    an easy way to specify a whole environment to be installed.
    tinstalls%
      %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> ...sInstall packages.c
O@s+tt|�j||�|j}|jtj��|jtj��|jtj��|jtj	��|jdddddddddd	�|jd
ddd
dddddddd�|jtj��|jdddddddd�|jddddddd�|jdddddddd�|jtj��|jtj
��|jtj��|jddddddd�|jd dd!dddd"�|jd#dd$dddddd%�|jd&dd'dd(dddd)�|jd*dd+dddddd,�|jd-dddd.dtdd/�|jd0dd1dd.dd2�|jtj��|jtj��|jtj��|jtj��|jtj��|jtj��|jtj��tjtj|j�}|jjd3|�|jjd3|�dS(4Ns-ts--targettdestt
target_dirtmetavartdirtdefaultthelps�Install packages into <dir>. By default this will not replace existing files/folders in <dir>. Use --upgrade to replace existing packages in <dir> with new versions.s-ds
--downloads--download-dirs--download-directorytdownload_dirs`Download packages into <dir> instead of installing them, regardless of what's already installed.s-Us	--upgradetupgradetactiont
store_trues�Upgrade all specified packages to the newest available version. This process is recursive regardless of whether a dependency is already satisfied.s--force-reinstalltforce_reinstallsKWhen upgrading, reinstall all packages even if they are already up-to-date.s-Is--ignore-installedtignore_installeds5Ignore the installed packages (reinstalling instead).s--usert
use_user_sites�Install to the Python user install directory for your platform. Typically ~/.local/, or %APPDATA%\Python on Windows. (See the Python documentation for site.USER_BASE for full details.)s--eggtas_eggs�Install packages as eggs, not 'flat', like pip normally does. This option is not about installing *from* eggs. (WARNING: Because this option overrides pip's normal install logic, requirements files may not behave as expected.)s--roott	root_paths=Install everything relative to this alternate root directory.s--strip-file-prefixtstrip_file_prefixtprefixs5Strip given prefix from script paths in wheel RECORD.s--prefixtprefix_pathsIInstallation prefix where lib, bin and other top-level folders are placeds	--compiletcompilesCompile py files to pycs--no-compiletstore_falsesDo not compile py files to pyci(tsuperRt__init__tcmd_optst
add_optionRtconstraintsteditabletrequirementst	build_dirtNonetsrctno_depstinstall_optionstglobal_optionstTruet	use_wheeltno_use_wheelt	no_binarytonly_binarytpretno_cleantrequire_hashestmake_option_grouptindex_grouptparsertinsert_option_group(tselftargstkwR't
index_opts((s8/usr/lib/python2.7/site-packages/pip/commands/install.pyR&6s�				c,C@s
tj|�tj|�|jr6tjdt�n|jrRtjdt�n|jrntjdt�n|j	r�tjdt�t
|_n|jr�t
jj|j�|_nt
jj|j�|_|jp�g}|jr4|jr�td��nt�rtd��n|jd�|jd�nd}|jr�t
|_tj�}t
jj|j�|_t
jj|j�r�t
jj|j�r�td	��n|jd
|�n|jp�g}|j|��}|j ||�}|j!p|j}t"|j#|j$�}	|j#rQt%|j#�rQt&j'd|j#�d|_#nt(|jd|���}
t)d
|
d|jd|j	d|j*d|j+d|jd|j,d|j-d|jd|d|d|j.d|j/d|	d|j0�}|j1||||||j2|	�|j3sdSz�y�|j	s<t4s<|j#rL|j5|�n+t6||dgdg�}|j7dt
�|j	sh|j8||d|j9d |jd!|j:�t;|j<d"t=j>d#��}
g}xk|
D]c}|j2}y3t?|d$�r|j@r|d%|j@7}qnWntAk
r+nX|j|�q�Wd&jB|�}|r�t&jCd'|�q�nAd&jBg|jDD]}|j2^qx�}|r�t&jCd(|�nWntEk
r�t
|_!�nXWd|j!s�|jF�nXWdQXWdQX|jr	tG|j�tHd)d*|�d+}x�t
jI|�D]�}t
jjB|j|�}t
jj|�r�|j*s|t&j'd,|�q-nt
jjJ|�r�t&j'd-|�q-nt
jj|�r�tKjL|�q�t
jM|�ntKjNt
jjB||�|�q-WtKjL|�n|S(.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.s�pip install --download has been deprecated and will be removed in the future. Pip now has a download command that should be used instead.sVCan not combine '--user' and '--prefix' as they imply different installation locationssZCan not perform a '--user' install. User site-packages are not visible in this virtualenv.s--users	--prefix=s=Target path exists but is not a directory, will not continue.s--home=s�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.tdeleteR,tsrc_dirRRRRtignore_dependenciesRRRtsessiont	pycompiletisolatedtwheel_cacheR9t
build_optionsR1tautobuildingtrootR!R tkeytnametinstalled_versiont-t sSuccessfully installed %ssSuccessfully downloaded %stthometpurelibsKTarget directory %s already exists. Specify --upgrade to force replacement.s�Target directory %s already exists and is a link. Pip will not automatically replace links, please remove if replacement is desired.(ORtresolve_wheel_no_use_binarytcheck_install_build_globaltallow_externaltwarningstwarnRtallow_all_externaltallow_unverifiedRR2RR,tostpathtabspathRCR0RR"RRRtappendR-RttempfiletmkdtemptexiststisdirR1t_build_sessiont_build_package_finderR8R
t	cache_dirtformat_controlRtloggertwarningR
RRRRDRR#t
isolated_modeR9tpopulate_requirement_setRMthas_requirementstwheelt
prepare_filesRtbuildRRR tsortedtsuccessfully_installedtoperatort
attrgetterthasattrRNt	Exceptiontjointinfotsuccessfully_downloadedRt
cleanup_filesR	Rtlistdirtislinktshutiltrmtreetremovetmove(R>toptionsR?R0ttemp_target_dirR1REtfindertbuild_deleteRHR,trequirement_settwbtreqstitemstreqtitemt	installedt
downloadedtlib_dirttarget_item_dir((s8/usr/lib/python2.7/site-packages/pip/commands/install.pytrun�s 

	
	
	
					
		
											
				
	
		

			
	(t__name__t
__module__t__doc__RMtusagetsummaryR&R�(((s8/usr/lib/python2.7/site-packages/pip/commands/install.pyRs	�('t
__future__RtloggingRqR[R_R{RWRltImportErrorR-tpip.reqRtpip.basecommandRt
pip.locationsRRtpip.exceptionsRRRtpipRt	pip.utilsR	tpip.utils.buildR
tpip.utils.deprecationRtpip.utils.filesystemRt	pip.wheelR
Rt	getLoggerR�RgR(((s8/usr/lib/python2.7/site-packages/pip/commands/install.pyt<module>s,



Anon7 - 2021