403Webshell
Server IP : 104.21.93.192  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /opt/alt/python310/lib/python3.10/site-packages/pip/_internal/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /opt/alt/python310/lib/python3.10/site-packages/pip/_internal/__pycache__/pyproject.cpython-310.pyc
o

ƚRe/�@s�ddlZddlmZddlmZmZmZddlmZddl	m
Z
mZddlm
Z
dedefd	d
�Zdedefdd
�Zedgd��Zdeededededeef
dd�ZdS)�N)�
namedtuple)�Any�List�Optional)�tomli)�InvalidRequirement�Requirement)�InstallationError�obj�returncCst|t�o
tdd�|D��S)Ncss�|]}t|t�VqdS)N)�
isinstance�str)�.0�item�r��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/pyproject.py�	<genexpr>s�z"_is_list_of_str.<locals>.<genexpr>)r�list�all)r
rrr�_is_list_of_strsr�unpacked_source_directorycCstj�|d�S)Nzpyproject.toml)�os�path�join)rrrr�make_pyproject_pathsr�BuildSystemDetails)�requires�backend�check�backend_path�
use_pep517�pyproject_toml�setup_py�req_namec
Cs�tj�|�}tj�|�}|s|st|�d���|r:t|dd��
}t�|�}Wd�n1s/wY|�d�}nd}|rM|sM|durJ|sJtd��d}n|red|vre|durb|sbtd	�|d���d}n|durk|}|dusqJ�|sudS|dur�d
dgdd
�}|dus�J�d}	d|vr�t|	j|dd���|d}
t	|
�s�t|	j|dd���|
D]}zt
|�Wq�ty�t|	j|d�|�d���w|�d�}|�dg�}
g}|dur�d}d
dg}t|
|||
�S)aBLoad the pyproject.toml file.

    Parameters:
        use_pep517 - Has the user requested PEP 517 processing? None
                     means the user hasn't explicitly specified.
        pyproject_toml - Location of the project's pyproject.toml file
        setup_py - Location of the project's setup.py file
        req_name - The name of the requirement we're processing (for
                   error reporting)

    Returns:
        None if we should use the legacy code path, otherwise a tuple
        (
            requirements from pyproject.toml,
            name of PEP 517 backend,
            requirements we should check are installed after setting
                up the build environment
            directory paths to import the backend from (backend-path),
                relative to the project root.
        )
    zW does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.zutf-8)�encodingNzbuild-systemzIDisabling PEP 517 processing is invalid: project does not have a setup.pyT�
build-backendzbDisabling PEP 517 processing is invalid: project specifies a build backend of {} in pyproject.tomlzsetuptools>=40.8.0�wheelz setuptools.build_meta:__legacy__)rr%zO{package} has a pyproject.toml file that does not comply with PEP 518: {reason}rz]it has a 'build-system' table but not 'build-system.requires' which is mandatory in the table)�package�reasonz1'build-system.requires' is not a list of strings.z='build-system.requires' contains an invalid requirement: {!r}zbackend-path)
rr�isfiler	�openr�load�get�formatrrrr)r r!r"r#�
has_pyproject�	has_setup�f�pp_toml�build_system�error_templater�requirementrrrrrr�load_pyproject_tomls����
�
�	��������

r5)r�collectionsr�typingrrr�pip._vendorrZ"pip._vendor.packaging.requirementsrr�pip._internal.exceptionsr	�boolrr
rrr5rrrr�<module>s,������

Youez - 2016 - github.com/yon3zu
LinuXploit