관리-도구
편집 파일: editable_wheel.cpython-311.pyc
� �܋fˉ � �& � d Z ddlmZ ddlZddlZddlZddlZddlZddlm Z ddl mZ ddlm Z ddlmZmZ ddlmZ dd lmZ dd lmZmZmZmZmZmZmZ ddlmZmZm Z m!Z!m"Z" dd l m#Z# ddl$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+m,Z,m-Z- ddl.m.Z/ ddl0m0Z1 ddl2m2Z3 ddl4m4Z5 ddl6m6Z7 ddl8m8Z9 erddl:m;Z; ede#�� � Z< ej= e>� � Z? G d� de� � Z@dZAdZB G d � d!e� � ZC G d"� d#e� � ZD G d$� d%� � ZE G d&� d'eE� � ZF G d(� d)� � ZGd^d.�ZHd_d2�ZId`d9�ZJd:� ZKdad>�ZLdad?�ZMdbdB�ZNdcdD�ZOdddF�ZPdedI�ZQdfdJ�ZRdgdO�ZSdhdQ�ZT G dR� dSe"jU � � ZVdTZWdidY�ZX G dZ� d[e!jY � � ZZ G d\� d]e-� � Z[dS )ja� 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``. � )�annotationsN)�suppress)�Enum)�cleandoc)�chain�starmap)�Path)�TemporaryDirectory)� TYPE_CHECKING�Iterable�Iterator�Mapping�Protocol�TypeVar�cast� )�Command�_normalization�_path�errors� namespaces)�StrPath)�py39��find_package_path)�Distribution)�InformationOnly�SetuptoolsDeprecationWarning�SetuptoolsWarning� )�build)�build_py)� dist_info)�egg_info)�install)�install_scripts�� WheelFile�_P)�boundc �6 � e Zd ZdZdZdZdZed d�� � Zd S )� _EditableModea Possible editable installation modes: `lenient` (new files automatically added to the package - DEFAULT); `strict` (requires a new installation when files are added/removed); or `compat` (attempts to emulate `python setup.py develop` - DEPRECATED). �strict�lenient�compat�mode� str | None�returnc �� � |st j S |� � � }|t j vrt j d|�d�� � �|dk rt j ddd�� � t | S )NzInvalid editable mode: z. Try: 'strict'.�COMPATzCompat editable installsa The 'compat' editable mode is transitional and will be removed in future versions of `setuptools`. Please adapt your code accordingly to use either the 'strict' or the 'lenient' modes. �userguide/development_mode.html)�see_docs)r, �LENIENT�upper�__members__r �OptionErrorr �emit)�clsr0 �_modes �r/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/setuptools/command/editable_wheel.py�convertz_EditableMode.convertN s� � �� )� �(�(�� � ����� �1�1�1��$�%W�t�%W�%W�%W�X�X�X��H���(�-�*�� ;� � � � � �U�#�#� N)r0 r1 r2 r, ) �__name__� __module__�__qualname__�__doc__�STRICTr7 r4 �classmethodr? � r@ r>