z"_is_list_of_str..s(O4D#)>(Os)rlistall)objs r_is_list_of_strrs c4 OS(O3(O%OOcBtjj|dS)Nzpyproject.toml)ospathjoin)unpacked_source_directorys rmake_pyproject_pathrs 77<<13C DDrBuildSystemDetails)requiresbackendcheck backend_pathctjj|}tjj|}|s|st|d|rKt |d5}t j |j}dddjd}nd}|dgdd}d |vr t| |d }t|s t|d |D]} t| |jd} |jdg} g} | d} dg} t|| | | S#1swYxYw#t$r} t|d |  | d} ~ wwxYw)aLoad the pyproject.toml file. Parameters: 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-systemzsetuptools>=40.8.0z setuptools.build_meta:__legacy__)r build-backendr )packagezIt is not a list of strings.)r'reasonz$It contains an invalid requirement: r&z backend-path)rrisfileropenr loadsreadgetr rrr rr)pyproject_tomlsetup_pyreq_name has_pyproject has_setupfpp_toml build_systemr requirementerrorr!r#r"s rload_pyproject_tomlr8s,GGNN>2Mx(I j= >   .7 3 .qmmAFFH-G .{{>2  ..? %+H==J'H 8 $+1      K (/G##NB7LE5%& h EEy . .H" / =k_M  s$ $D" D."D+. E 7EE )rrreturnbool)rrr9r)r.rr/rr0rr9r) __future__rr collectionsrtypingr"pip._vendor.packaging.requirementsrpip._internal.exceptionsrrr pip._internal.utils.compatr pip._internal.utils.packagingr rrrr8rrrCst" "A /9PE J \F\F#&\F25\F\Fr