§
žÅ±•)žqÂã ó‚ — d dl mZmZ ddlmZmZmZmZmZ g d¢Z defd„Z
deee defd„Zd ed
edefd„Z
dS )
é )ÚListÚOptionalé )ÚBaseDistributionÚBaseEnvironmentÚFilesystemWheelÚMemoryWheelÚWheel)r r r r r
Úget_default_environmentÚget_environmentÚget_wheel_distributionÚreturnc ó6 — ddl m} | ¦ « S )a Get 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.
r ©ÚEnvironment)Ú
pkg_resourcesr Údefaultr s ú‘/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el9.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/metadata/__init__.pyr r s( € ð +Ð*Ð*Ð*Ð*Ð*à×ÒÑ Ô Ð ó Úpathsc ó8 — ddl m} | | ¦ « S )a' Get 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.
r r )r r Ú
from_paths)r r s r r r s* € ð +Ð*Ð*Ð*Ð*Ð*à×!Ò! %Ñ(Ô(Ð(r ÚwheelÚcanonical_namec ó: — ddl m} | | |¦ « S )a Get 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.
r )ÚDistribution)r r Ú
from_wheel)r r r s r r
r
) s, € ð ,Ð+Ð+Ð+Ð+Ð+à×"Ò" 5¨.Ñ9Ô9Ð9r N)Útypingr r Úbaser r r r r
Ú__all__r Ústrr r
© r r ú