Файловый менеджер - Редактировать - /usr/lib/python3/dist-packages/pip/_internal/metadata/__pycache__/__init__.cpython-310.pyc
Ðазад
o !��h� � @ s� d dl mZmZ ddlmZmZmZmZmZ g d�Z defdd�Z deee defd d �Zdedefdd �Z dededefdd�ZdS )� )�List�Optional� )�BaseDistribution�BaseEnvironment�FilesystemWheel�MemoryWheel�Wheel)r r r r r �get_default_environment�get_environment�get_wheel_distribution�returnc C s 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 � r �A/usr/lib/python3/dist-packages/pip/_internal/metadata/__init__.pyr s r �pathsc C � 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 r r r r s r � directoryc C r )z�Get 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. r ��Distribution)r r �from_directory)r r r r r �get_directory_distribution) s r �wheel�canonical_namec C s 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 r )r r � from_wheel)r r r r r r r 4 s r N)�typingr r �baser r r r r �__all__r �strr r r r r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка