Current File : //usr/lib/python3/dist-packages/setuptools/command/__pycache__/editable_wheel.cpython-312.pyc |
�
_�dց �
�2 � d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m
Z
ddlmZ ddl
mZ ddlmZ ddlmZ dd lmZmZmZmZmZmZmZmZmZmZ d
dlmZm Z m!Z!m"Z"m#Z# d
dl$m%Z% d
d
l&m'Z' d
dl(m)Z)m*Z*m+Z+ ddl,m,Z- erddl.m/Z/ ej` dk\ rddlm1Z1 nerddl2m1Z1 nddl3m4Z1 ee5ef Z6 ede6�� Z7 ejp e9� Z: G d� de
� Z;dZ<dZ= G d� de� Z> G d� de1� Z? G d� d � Z@ G d!� d"e@� ZA G d#� d$� ZBd%e5d&eCfd'�ZDd(ed&eEfd)�ZFd*ee5 d+ee5e5f d,ed&eEfd-�ZGd.� ZHd/e'd&ee5 fd0�ZId/e'd&ee5 fd1�ZJd*ee5 d+ee5e5f d2e6d&ee5e5f fd3�ZKd4e6d&e5fd5�ZLd6ee5e5f d&ee5 fd7�ZMd*ee5 d6ee5e5f d&eee5ee5 f fd8�ZNd6ee5e5f d&ee5e5f fd9�ZOd:e5d;e5d<e5d=e5d&eEf
d>�ZPd?e7d&e7fd@�ZQ G dA� dBe#j� � ZSdCZTdDe5dEee5e5f dFee5ee5 f d&e5fdG�ZU G dH� dIe"j� � ZW G dJ� dKe+� ZXy)La�
Create a wheel that, when installed, will make the source package 'editable'
(add it to the interpreter's path, including metadata) per PEP 660. Replaces
'setup.py develop'.
.. note::
One of the mechanisms briefly mentioned in PEP 660 to implement editable installs is
to create a separated directory inside ``build`` and use a .pth file to point to that
directory. In the context of this file such directory is referred as
*auxiliary build directory* or ``auxiliary_dir``.
� N)�suppress)�Enum)�cleandoc)�chain)�Path)�TemporaryDirectory)
�
TYPE_CHECKING�Dict�Iterable�Iterator�List�Mapping�Optional�Tuple�TypeVar�Union� )�Command�_normalization�_path�errors�
namespaces)�find_package_path)�Distribution)�InformationOnly�SetuptoolsDeprecationWarning�SetuptoolsWarning� )�build_py�� WheelFile)� � )�Protocol)�ABC�_P)�boundc �<