Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_internal
/
operations
/
__pycache__
[ HOME ]
Exec
Submit
prepare.cpython-312.pyc
� p�/i�p � � � d Z ddlmZ ddlZddlZddlZddlmZ ddlm Z ddl mZ ddlm Z ddlmZ dd lmZ dd lmZ ddlmZ ddlmZmZmZmZmZmZmZ dd lmZ ddl m!Z!m"Z" ddl#m$Z$ ddl%m&Z& ddl'm(Z( ddl)m*Z* ddl+m,Z,m-Z- ddl.m/Z/ ddl0m1Z1 ddl2m3Z3 ddl4m5Z5 ddl6m7Z7m8Z8 ddl9m:Z:m;Z; ddl<m=Z= ddl>m?Z?m@Z@mAZAmBZB ddlCmDZD ddlEmFZF ddlGmHZH e rddlImJZJ e5eK� ZL d*d �ZMd+d!�ZNe G d"� d#� � ZO d, d-d$�ZP d, d.d%�ZQ d, d/d&�ZR d0 d1d'�ZS G d(� d)� ZTy)2z(Prepares a distribution for installation� )�annotationsN)�Iterable)� dataclass)�Path)� TYPE_CHECKING)�canonicalize_name)�BuildEnvironmentInstaller)�)make_distribution_for_install_requirement)�InstalledDistribution)�DirectoryUrlHashUnsupported�HashMismatch�HashUnpinned�InstallationError�MetadataInconsistent�NetworkConnectionError�VcsHashUnsupported)� PackageFinder)�BaseDistribution�get_metadata_distribution)�ArchiveInfo)�Link)�Wheel)� Downloader)�HTTPRangeRequestUnsupported�dist_from_wheel_url)� PipSession)�BuildTracker)�InstallRequirement)� getLogger)�direct_url_for_editable�direct_url_from_link)�Hashes� MissingHashes)� indent_log)�display_path� hash_file�hide_url�redact_auth_from_requirement)� TempDirectory)�unpack_file)�vcs)�BarTypec � � t | � }|j }|�>|j | |� 5 |j |||� ddd� |j � S |j � S # 1 sw Y |j � S xY w)z(Prepare a distribution for installation.N)r �build_tracker_id�track�prepare_distribution_metadatar )�req� build_tracker�build_env_installer�build_isolation�check_build_deps� abstract_dist� tracker_ids �O/opt/hc_python/lib/python3.12/site-packages/pip/_internal/operations/prepare.py�_get_prepared_distributionr9 A s� � � >�c�B�M��/�/�J��� � � ��j� 1��7�7�#�_�6F� � 2� �2�2�4�4�=�2�2�4�4� 2� �2�2�4�4�s �A(�(B c � � t j | j � }|�J �|j |t | j � |�� y )N)�url� verbosity)r+ �get_backend_for_scheme�scheme�unpackr'