403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.7/site-packages/pip/_internal/utils/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.7/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-37.pyc
B

�N�a��@s�ddlZddlZddlmZddlmZddlmZmZddl	m
Z
ddlmZm
Z
ddlmZddlmZdd	lmZdd
lmZe�e�Zeeeedfed�d
d�Zeed�dd�Zeed�dd�Zejdd�eed�dd��Z dS)�N)�Message)�
FeedParser)�Optional�Tuple)�
pkg_resources)�
specifiers�version)�Requirement)�Distribution)�NoneMetadataError)�display_path.)�requires_python�version_info�returncCs4|dkrdSt�|�}t�d�tt|���}||kS)a�
    Check if the given Python version matches a "Requires-Python" specifier.

    :param version_info: A 3-tuple of ints representing a Python
        major-minor-micro version to check (e.g. `sys.version_info[:3]`).

    :return: `True` if the given Python version satisfies the requirement.
        Otherwise, return `False`.

    :raises InvalidSpecifier: If `requires_python` has an invalid format.
    NT�.)rZSpecifierSetr�parse�join�map�str)r
rZrequires_python_specifierZpython_version�r�A/usr/lib/python3.7/site-packages/pip/_internal/utils/packaging.py�check_requires_pythons

r)�distrcCs�d}t|tj�r&|�|�r&|�|�}n0|�d�r@d}|�|�}nt�dt|j��d}|dkrht	||��t
�}|�|�|��S)z�
    :raises NoneMetadataError: if the distribution reports `has_metadata()`
        True but `get_metadata()` returns None.
    ZMETADATAzPKG-INFOzNo metadata found in %s�N)
�
isinstancerZDistInfoDistribution�has_metadata�get_metadata�loggerZwarningr�locationrrZfeed�close)rZ
metadata_nameZmetadataZfeed_parserrrrr)s


rcCs2|�d�r.x"|�d�D]}|��r|��SqWdS)NZ	INSTALLERr)rZget_metadata_lines�strip)r�linerrr�
get_installerDs

r"i)�maxsize)�
req_stringrcCst|�S)z5Construct a packaging.Requirement object with caching)r	)r$rrr�get_requirementLsr%)!�	functoolsZloggingZ
email.messagerZemail.parserr�typingrrZpip._vendorrZpip._vendor.packagingrrZ"pip._vendor.packaging.requirementsr	Zpip._vendor.pkg_resourcesr
Zpip._internal.exceptionsrZpip._internal.utils.miscrZ	getLogger�__name__rr�int�boolrrr"�	lru_cacher%rrrr�<module>s"



Youez - 2016 - github.com/yon3zu
LinuXploit