Your IP : 18.119.248.48


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/pyproject.pyc

�
�Rec@@s�ddlmZddlZddlZddlZddlmZddlmZm	Z	ddl
mZmZddl
mZddlmZer�ddlmZmZmZnd	�Zd
�Zeddd
ddg�Zd�ZdS(i(tabsolute_importN(t
namedtuple(tsixttoml(tInvalidRequirementtRequirement(tInstallationError(tMYPY_CHECK_RUNNING(tAnytOptionaltListcC@s#t|t�o"td�|D��S(Ncs@s!|]}t|tj�VqdS(N(t
isinstanceRtstring_types(t.0titem((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/pyproject.pys	<genexpr>s(Rtlisttall(tobj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/pyproject.pyt_is_list_of_strscC@sLtjj|d�}tjrHt|tj�rH|jtj	��}n|S(Nspyproject.toml(
tostpathtjoinRtPY2Rt	text_typetencodetsystgetfilesystemencoding(tunpacked_source_directoryR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/pyproject.pytmake_pyproject_pathstBuildSystemDetailstrequirestbackendtchecktbackend_pathc	C@s|tjj|�}tjj|�}|ritj|dd��}tj|�}WdQX|jd�}nd}|r�|r�|dk	r�|r�t	d��nt
}n_|r�d|kr�|dk	r�|r�t	dj|d���nt
}n|dkr|}n|dk	st�|s"dS|dkrKidd	gd
6dd6}n|dk	s]t�d}	d
|kr�t	|	jd
|dd���n|d
}
t
|
�s�t	|	jd
|dd���nxW|
D]O}yt|�Wq�tk
rt	|	jd
|ddj|����q�Xq�W|jd�}|jdg�}
g}|dkrid}dd	g}nt|
|||
�S(sBLoad 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.
        )
    tencodingsutf-8Nsbuild-systemsIDisabling PEP 517 processing is invalid: project does not have a setup.pys
build-backendsbDisabling PEP 517 processing is invalid: project specifies a build backend of {} in pyproject.tomlssetuptools>=40.8.0twheelRs setuptools.build_meta:__legacy__sO{package} has a pyproject.toml file that does not comply with PEP 518: {reason}tpackagetreasons]it has a 'build-system' table but not 'build-system.requires' which is mandatory in the tables1'build-system.requires' is not a list of strings.s='build-system.requires' contains an invalid requirement: {!r}sbackend-path(RRtisfiletiotopenRtloadtgettNoneRtTruetformattAssertionErrorRRRR(t
use_pep517tpyproject_tomltsetup_pytreq_namet
has_pyprojectt	has_setuptftpp_tomltbuild_systemterror_templateRtrequirementRR!R ((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/pyproject.pytload_pyproject_toml*sl
				




	
(t
__future__RR'RRtcollectionsRtpip._vendorRRt"pip._vendor.packaging.requirementsRRtpip._internal.exceptionsRtpip._internal.utils.typingRttypingRR	R
RRRR:(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/pyproject.pyt<module>s		

?>