[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.118.19.247: ~ $


�t�_��@s�ddlmZddlZddlZddlZddlmZddlmZm	Z	ddl
mZmZddl
mZddlmZer�ddlmZmZmZd	d
�Zdd�Zed
ddddg�Zdd�ZdS)�)�absolute_importN)�
namedtuple)�six�toml)�InvalidRequirement�Requirement)�InstallationError)�MYPY_CHECK_RUNNING)�Any�Optional�ListcCs&t|t�o%tdd�|D��S)Ncss!|]}t|tj�VqdS)N)�
isinstancer�string_types)�.0�item�r��/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-1.el7.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/pyproject.py�	<genexpr>sz"_is_list_of_str.<locals>.<genexpr>)r
�list�all)�objrrr�_is_list_of_strsrcCsItjj|d�}tjrEt|tj�rE|jtj	��}|S)Nzpyproject.toml)
�os�path�joinr�PY2r
�	text_type�encode�sys�getfilesystemencoding)�unpacked_source_directoryrrrr�make_pyproject_pathsr!�BuildSystemDetails�requires�backend�check�backend_pathcCsgtjj|�}tjj|�}|rjtj|dd��}tj|�}WdQRX|jd�}nd}|r�|r�|dk	r�|r�td��d}nY|r�d|kr�|dk	r�|r�tdj	|d���d}n|dkr�|}|dk	st
�|sdS|dkr>d	d
dgddi}|dk	sPt
�d
}	d	|kr�t|	j	d|dd���|d	}
t|
�s�t|	j	d|dd���xX|
D]P}yt|�Wq�t
k
r
t|	j	d|ddj	|����Yq�Xq�W|jd�}|jdg�}
g}|dkrTd}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.
        )
    �encodingzutf-8Nzbuild-systemzIDisabling PEP 517 processing is invalid: project does not have a setup.pyTz
build-backendzbDisabling PEP 517 processing is invalid: project specifies a build backend of {} in pyproject.tomlr#zsetuptools>=40.8.0�wheelz setuptools.build_meta:__legacy__zO{package} has a pyproject.toml file that does not comply with PEP 518: {reason}�package�reasonz]it has a 'build-system' table but not 'build-system.requires' which is mandatory in the tablez1'build-system.requires' is not a list of strings.z='build-system.requires' contains an invalid requirement: {!r}zbackend-path)rr�isfile�io�openr�load�getr�format�AssertionErrorrrrr")�
use_pep517�pyproject_toml�setup_py�req_name�
has_pyproject�	has_setup�f�pp_toml�build_system�error_templater#�requirementr$r&r%rrr�load_pyproject_toml*sj
			



	
r=)�
__future__rr,rr�collectionsr�pip._vendorrrZ"pip._vendor.packaging.requirementsrr�pip._internal.exceptionsr�pip._internal.utils.typingr	�typingr
rrrr!r"r=rrrr�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-35.pyc File 781 B 0644
build_env.cpython-35.pyc File 7.92 KB 0644
cache.cpython-35.pyc File 9.52 KB 0644
configuration.cpython-35.pyc File 11.39 KB 0644
exceptions.cpython-35.pyc File 15.22 KB 0644
locations.cpython-35.pyc File 4.77 KB 0644
main.cpython-35.pyc File 698 B 0644
pyproject.cpython-35.pyc File 3.93 KB 0644
self_outdated_check.cpython-35.pyc File 4.81 KB 0644
wheel_builder.cpython-35.pyc File 7.18 KB 0644