§ w<ˆj.ˆ ã ó6 — d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl m Z mZmZ ddl mZ ddlmZ ddlmZ ddlmZmZ dd lmZ dd lmZ ddlmZ ddlmZmZmZm Z d dl!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z' d dl$m(Z( d dl)m*Z*m+Z+ d dl,m-Z- d dl.m/Z/ d dl0m1Z1m2Z2 ddl3m3Z4 ddl5m5Z6 ddl7m7Z8 ddl9m9Z: ddl;m;Z< ddl=m=Z> erddl?m@Z@ d dlAmBZB ede(¬¦ « ZC ejD eE¦ « ZF G d„ d e¦ « ZGd!ZHd"ZI G d#„ d$e"¦ « ZJ G d%„ d&e¦ « ZK G d'„ d(¦ « ZL G d)„ d*eL¦ « ZM G d+„ d,¦ « ZNd_d1„ZOd`d5„ZPdad<„ZQd=„ ZRdbdA„ZSdbdB„ZTdcdE„ZUdddG„ZVdedI„ZWdfdL„ZXdgdM„ZYdhdR„ZZdidT„Z[ G dU„ dVe'j\ ¦ « Z]dWZ^djd\„Z_ G d]„ d^e&j` ¦ « ZadS )kaè 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)ÚIterableÚIteratorÚMapping)Úsuppress)ÚEnum)Úcleandoc)ÚchainÚstarmap)ÚPath)ÚTemporaryDirectory)Ú TracebackType)Ú TYPE_CHECKINGÚProtocolÚTypeVarÚcasté )ÚCommandÚ_normalizationÚ_pathÚ_shutilÚerrorsÚ namespaces)ÚStrPath)Úpy310Úpy312©Úfind_package_path)ÚDistribution)ÚInformationOnlyÚSetuptoolsDeprecationWarningé )Úbuild)Úbuild_py)Ú dist_info)Úegg_info)Úinstall)Úinstall_scripts)ÚSelf©Ú 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. zuserguide/development_mode.html)Úsee_docs)r/ ÚLENIENTÚupperÚ__members__r ÚOptionErrorr! Úemit)Úclsr3 Ú_modes ús/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/setuptools/command/editable_wheel.pyÚconvertz_EditableMode.convertA sŠ € àð )Ý Ô(Ð(à— ’ ‘”ˆØ� Ô1Ð1Ð1ÝÔ$Ð%W¸tÐ%WÐ%WÐ%WÑXÔXÐXà�HÒÐÝ(Ô-Ø*ðð ;ð ñ ô ð õ ˜UÔ#Ð#ó N)r3 r4 r5 r/ ) Ú__name__Ú __module__Ú__qualname__Ú__doc__ÚSTRICTr9 r7 ÚclassmethodrA © rB r@ r/ r/ 5 sM € € € € € ðð ð €FØ€GØ €Fàð$ð $ð $ñ „[ð$ð $ð $rB r/ zU New or renamed files may not be automatically picked up without a new installation. zt Options like `package-data`, `include/exclude-package-data` or `packages.find.exclude/include` may have no effect. c ó´ — e Zd ZdZdZdddd eej pd¦ « fgZd„ Zd&d„Z d&d„Z d „ Zd„ Zd'd„Z d(d„Zd„ Zd)d„Zd*d„Zd&d„Zd+d„Zd „ Zd,d"„Zd-d%„ZdS ).Úeditable_wheelz®Build 'editable' wheel for development. This command is private and reserved for internal use of setuptools, users should rely on ``setuptools.build_meta`` APIs. zBDO NOT CALL DIRECTLY, INTERNAL ONLY: create PEP 660 editable wheel)z dist-dir=Údz-directory to put final built distributions in)zdist-info-dir=ÚIz(path to a pre-build .dist-info directoryzmode=NÚ c ó> — d | _ d | _ d | _ d | _ d S ©N)Údist_dirÚ dist_info_dirÚproject_dirr3 ©Úselfs r@ Úinitialize_optionsz!editable_wheel.initialize_optionsv s$ € ؈Œ Ø!ˆÔØˆÔØˆŒ ˆ ˆ rB r5 ÚNonec óÜ — | j }|j pt j | _ |j pi | _ t | j p$t j | j d¦ « ¦ « | _ d S )NÚdist) ÚdistributionÚsrc_rootÚosÚcurdirrS Úpackage_dirr rQ ÚpathÚjoin)rU rY s r@ Úfinalize_optionszeditable_wheel.finalize_options| sX € ØÔ ˆØœ=Ð5B¬IˆÔØÔ+Ð1¨rˆÔݘTœ]ÐTb¬g¯lªl¸4Ô;KÈVÑ.TÔ.TÑUÔUˆŒ ˆ ˆ rB c óº — | j d¬¦ « | ¦ « | d¦ « | d¦ « }| | j ¦ « | |¦ « d S # t $ rD}| j j p| j ¦ « }t j |d|› d�¦ « ‚ d }~ww xY w)NT)Úexist_okÚbdist_wheelz3An error occurred when building editable wheel for zl. See debugging tips in: https://setuptools.pypa.io/en/latest/userguide/development_mode.html#debugging-tips)rQ ÚmkdirÚ_ensure_dist_infoÚreinitialize_commandÚget_finalized_commandÚwrite_wheelfilerR Ú_create_wheel_fileÚ ExceptionrZ ÚnameÚget_namer Úadd_note)rU rd ÚexÚprojects r@ Úrunzeditable_wheel.run‚ s € ð ØŒM×Ò¨ÐÑ.Ô.Ð.Ø×"Ò"Ñ$Ô$Ð$ð ×%Ò% mÑ4Ô4Ð4Ø×4Ò4°]ÑCÔCˆKØ×'Ò'¨Ô(:Ñ;Ô;Ð;à×#Ò# KÑ0Ô0Ð0Ð0Ð0øÝð ð ð ØÔ'Ô,ÐL°Ô0A×0JÒ0JÑ0LÔ0LˆGÝŒNØðfÀgð fð fð fñ ô ð ð øøøøð øøøs ‚BB  CÂ?CÃCc óŒ — | j €jt t | d¦ « ¦ « }| j |_ | ¦ « | ¦ « |j | _ d S t | j ¦ « d¦ « sJ ‚t | j d¦ « ¦ « sJ ‚d S )Nr% z .dist-infoÚMETADATA)rR r Ú dist_info_clsrg rQ Ú output_dirÚensure_finalizedrq ÚstrÚendswithr Úexists)rU r% s r@ rf z editable_wheel._ensure_dist_info— s² € ØÔÐ%Ý�]¨D×,EÒ,EÀkÑ,RÔ,RÑSÔSˆIØ#'¤=ˆIÔ Ø×&Ò&Ñ(Ô(Ð(Ø�MŠM‰OŒOˆOØ!*Ô!8ˆDÔÐÐå�tÔ)Ñ*Ô*×3Ò3°LÑAÔAÐAÐAÐAݘÔ*¨JÑ7Ô7×>Ò>Ñ@Ô@Ð@Ð@Ð@Ð@Ð@rB c óò — | j }|j sd S t | j | j dd¦ « ¦ « ¦ « }t ||||¦ « }| ¦ « d S )NrN ú.) rZ Únamespace_packagesr rS r^ ÚgetÚresolveÚ_NamespaceInstallerÚinstall_namespaces)rU Úinstallation_dirÚ pth_prefixrY r[ Ú installers r@ Ú_install_namespacesz"editable_wheel._install_namespaces¢ sw € àÔ ˆØÔ&ð