Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/pip/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/pip/utils/packaging.pyc
�
��abc@@s�ddlmZddlmZddlZddlZddlmZddlmZddl	m
Z
ddlmZej
e�Zd�Zd	�Zd
�ZdS(i(tabsolute_import(t
FeedParserN(t
specifiers(tversion(t
pkg_resources(t
exceptionscC@sQ|dkrtStj|�}tjdjttt	j
d ���}||kS(sG
    Check if the python version in use match the `requires_python` specifier.

    Returns `True` if the version of python in use matches the requirement.
    Returns `False` if the version of python in use does not matches the
    requirement.

    Raises an InvalidSpecifier if `requires_python` have an invalid format.
    t.iN(tNonetTrueRtSpecifierSetRtparsetjointmaptstrtsystversion_info(trequires_pythontrequires_python_specifiertpython_version((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pytcheck_requires_pythons

(cC@sNt|tj�r.|jd�r.|jd�S|jd�rJ|jd�SdS(NtMETADATAsPKG-INFO(t
isinstanceRtDistInfoDistributionthas_metadatatget_metadata(tdist((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pyR%s

c	C@s�t|�}t�}|j|�|j�}|jd�}yKt|�s�tjd|j|dj	t
ttj
d ��f��nWn4tjk
r�}tjd|j||f�dSXdS(NsRequires-Pythons4%s requires Python '%s' but the running Python is %sRis7Package %s has an invalid Requires-Python entry %s - %s(RRtfeedtclosetgetRRtUnsupportedPythonVersiontproject_nameRRR
RRRtInvalidSpecifiertloggertwarning(Rtmetadatatfeed_parsert
pkg_info_dictRte((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pytcheck_dist_requires_python-s"	
-(t
__future__Rtemail.parserRtloggingRtpip._vendor.packagingRRtpip._vendorRtpipRt	getLoggert__name__R RRR&(((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pyt<module>s		

ZeroDay Forums Mini