2biZSSKrSSKrSSKrSSKrSSKJrJrJrJrJ r SSK J r SSK J r JrJrJrJr \(a SSKJrJr O\r/SQrS\4S jr"S S \5r\R2"SS 9S\4S j5rS\4SjrS\\\S\4SjrS\S\ 4SjrS\S\S\ 4SjrS\ S\S\S\ 4Sjr!g)N) TYPE_CHECKINGListOptionalTypecast) strtobool)BaseDistributionBaseEnvironmentFilesystemWheel MemoryWheelWheel)LiteralProtocol) r r r r rget_default_environmentget_environmentget_wheel_distributionselect_backendreturnc2[R"[[5 [ [ [ RS55sSSS5 $!,(df  O=f[RS:agSSK n[ [URSS55$)akWhether to use the ``importlib.metadata`` or ``pkg_resources`` backend. By default, pip uses ``importlib.metadata`` on Python 3.11+, and ``pkg_resourcess`` otherwise. This can be overridden by a couple of ways: * If environment variable ``_PIP_USE_IMPORTLIB_METADATA`` is set, it dictates whether ``importlib.metadata`` is used, regardless of Python version. * On Python 3.11+, Python distributors can patch ``importlib.metadata`` to add a global constant ``_PIP_USE_IMPORTLIB_METADATA = False``. This makes pip use ``pkg_resources`` (unless the user set the aforementioned environment variable to *True*). _PIP_USE_IMPORTLIB_METADATAN) FrT) contextlibsuppressKeyError ValueErrorboolrosenvironsys version_infoimportlib.metadatagetattrmetadata importlibs ڑ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/metadata/__init__.py_should_use_importlib_metadatar)sf   Xz 2Ibjj)FGHI 3 2 2 '!  **,I4P QQs %A Ac@\rSrSr%S\S'\\\S'\\\S'Srg)Backend4z%Literal["importlib", "pkg_resources"]NAME Distribution EnvironmentN) __name__ __module__ __qualname____firstlineno____annotations__rr r __static_attributes__r0r(r+r+4s 11'((o&&r7r+)maxsizecx[5(aSSKJn [[U5$SSKJn [[U5$)Nr r&) pkg_resources)r)r'rr+r:)r'r:s r(rr:s+%''GY''  ''r7cF[5RR5$)zGet the default representation for the current environment. This returns an Environment instance from the chosen backend. The default Environment instance should be built from ``sys.path`` and may use caching to share instance state accorss calls. )rr/defaultr0r7r(rrEs   ' ' / / 11r7pathscH[5RRU5$)aGet a representation of the environment specified by ``paths``. This returns an Environment instance from the chosen backend based on the given import paths. The backend must build a fresh instance representing the state of installed distributions when this function is called. )rr/ from_paths)r>s r(rrOs   ' ' 2 25 99r7 directorycH[5RRU5$)zGet the distribution metadata representation in the specified directory. This returns a Distribution instance from the chosen backend based on the given on-disk ``.dist-info`` directory. )rr.from_directory)rAs r(get_directory_distributionrDYs   ( ( 7 7 BBr7wheelcanonical_namecH[5RRX5$)zGet the representation of the specified wheel's distribution metadata. This returns a Distribution instance from the chosen backend based on the given wheel's ``.dist-info`` directory. :param canonical_name: Normalized project name of the given wheel. )rr. from_wheel)rErFs r(rrbs   ( ( 3 3E JJr7metadata_contentsfilenamecL[5RRUUU5$)aGet the dist representation of the specified METADATA file contents. This returns a Distribution instance from the chosen backend sourced from the data in `metadata_contents`. :param metadata_contents: Contents of a METADATA file within a dist, or one served via PEP 658. :param filename: Filename for the dist this metadata represents. :param canonical_name: Normalized project name of the given dist. )rr.from_metadata_file_contents)rIrJrFs r(get_metadata_distributionrMms)   ( ( D D r7)"r functoolsrr!typingrrrrrpip._internal.utils.miscrbaser r r r rrrobject__all__rr)r+ lru_cacherrstrrrDrbytesrMr0r7r(rWs <<.XX((H RR.'h'  T"((#(22:8DI.:?:C#C2BCK%KKAQK r7