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.6/site-packages/pip/_internal/utils/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.6/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-36.pyc
3

�N�a��@s�ddlZddlZddlmZddlmZddlmZmZddl	m
Z
ddlmZm
Z
ddlmZddlmZdd	lmZdd
lmZeje�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dStj|�}tjdjtt|���}||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�/usr/lib/python3.6/packaging.py�check_requires_pythons

r)�distrcCs�d}t|tj�r&|j|�r&|j|�}n0|jd�r@d}|j|�}ntjdt|j��d}|dkrht	||��t
�}|j|�|j�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|jd�r.x"|jd�D]}|j�r|j�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.parserrZtypingrrZpip._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