????

Your IP : 216.73.216.152


Current Path : /proc/self/root/lib/python2.7/site-packages/pip/_internal/
Upload File :
Current File : //proc/self/root/lib/python2.7/site-packages/pip/_internal/pyproject.pyc

�
}�\]c@@s�ddlmZddlZddlZddlZddlmZmZddlm	Z	ddl
mZer�ddlm
Z
mZmZmZnd�Zd�Zd	�ZdS(
i(tabsolute_importN(tpytomltsix(tInstallationError(tMYPY_CHECK_RUNNING(tAnytTupletOptionaltListcC@s#t|t�o"td�|D��S(Ncs@s!|]}t|tj�VqdS(N(t
isinstanceRtstring_types(t.0titem((s6/tmp/pip-install-ewDPok/pip/pip/_internal/pyproject.pys	<genexpr>s(R	tlisttall(tobj((s6/tmp/pip-install-ewDPok/pip/pip/_internal/pyproject.pyt_is_list_of_strscC@sLtjj|d�}tjrHt|tj�rH|jtj	��}n|S(Nspyproject.toml(
tostpathtjoinRtPY2R	t	text_typetencodetsystgetfilesystemencoding(tsetup_py_dirR((s6/tmp/pip-install-ewDPok/pip/pip/_internal/pyproject.pytmake_pyproject_pathsc

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���n|jd�}g}|dkr�d}dd	g}n|
||fS(s�Load 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
        )
    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.0twheeltrequiress 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.(RRtisfiletiotopenRtloadtgettNoneRtTruetformattAssertionErrorR(
t
use_pep517tpyproject_tomltsetup_pytreq_namet
has_pyprojectt	has_setuptftpp_tomltbuild_systemterror_templateRtbackendtcheck((s6/tmp/pip-install-ewDPok/pip/pip/_internal/pyproject.pytload_pyproject_toml#sX
				



(t
__future__RR!RRtpip._vendorRRtpip._internal.exceptionsRtpip._internal.utils.typingRttypingRRRRRRR5(((s6/tmp/pip-install-ewDPok/pip/pip/_internal/pyproject.pyt<module>s%