HA©ddlmZddlZddlZddlmZddlmZmZm Z ddl m Z ddl m Z mZddlmcmZddlmZerd d lmZndZdd ZGddejZdejjDejze_dS)) annotationsN)Callable) TYPE_CHECKINGAnyClassVar) Distribution)SetuptoolsDeprecationWarningSetuptoolsWarning)DistutilsArgError) easy_installnamestrc|dkr"tjddtjSt dt d|)N_installzk`setuptools.command._install` was an internal implementation detail that was left in for numpy<1.9 support.)r)due_datezmodule z has no attribute )r emitoriginstallAttributeError__name__)rs l/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/setuptools/command/install.py __getattr__rsX z$) 6!    | I8IIII J JJceZdZUdZded<ejjddgzZejjddgzZdd fd d fgZ d ed <e e Z fdZ dfd Z dZedZxZS)rz7Use easy_install to install the package, w/dependenciesr distribution)old-and-unmanageableNzTry not to use this!)!single-version-externally-managedNz5used by system package builders to create 'flat' eggsr r!install_egg_infocdSNTselfs rzinstall.4s$rinstall_scriptscdSr$r%r&s rr(zinstall.5srz8ClassVar[list[tuple[str, Callable[[Any], bool] | None]]] new_commandsctjddddtd|_d|_dS)Nzsetup.py install is deprecated.z Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. zAhttps://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html)r )see_urlr)r rsuperinitialize_optionsold_and_unmanageable!single_version_externally_managedr' __class__s rr1zinstall.initialize_options9s\$) -  X#  ""$$$$(!15...rreturnNonect|jr d|_dS|jr|js|jst ddSdSdS)NTzAYou must specify --record or --root when building system packages)r0finalize_optionsrootr3recordr r4s rr9zinstall.finalize_optionsIs   """ 9 59D 2 2 2  3 9 T[ 'W      rc||js|jrtj|Sd|_d|_dS)N)r:r3rrhandle_extra_path path_file extra_dirsr&s rr>zinstall.handle_extra_pathSsA 9 8> 8<11$77 7trc|Ed}tj|tjdkrd}tj|dSt j|}|ddD]a}|dd\}t j|}|jd d }|d kr |j d krO|d ko |j dkcSdS)a Attempt to detect whether run() was called from setup() or by another command. If called by setup(), the parent caller will be the 'run_command' method in 'distutils.dist', and *its* caller will be the 'run_commands' method. If called any other way, the immediate caller *might* be 'run_command', but it won't have been called by 'run_commands'. Return True in that case or if a call stack is unavailable. Return False otherwise. Nz4Call stack not available. bdist_* commands may fail. IronPythonz6For best results, pass -X:Frames to enable call stack.Trr rr=zsetuptools.dist run_commandzdistutils.dist run_commandsF) r rplatformpython_implementationinspectgetouterframes getframeinfo f_globalsgetfunction) run_framemsgframesframecallerinfo caller_modules r_called_from_setupzinstall._called_from_setup^s  HC  "3 ' ' '-//<??N!&s+++4' 22AaC[ Y YEbqb IV'//D",00R@@M 111dm}6T6T $44X.9X X X Xur)r6r7)r __module__ __qualname____doc____annotations__rr user_optionsboolean_optionsr+dict_ncr1r9r> staticmethodrU __classcell__)r5s@rrr sAA<,> 0Ll2+6O ../ --.NL $|  C66666    \rrc:g|]}|dtjv|S)r)rr]).0cmds r rcs/ Agk0I0IC0I0I0Ir)rr) __future__rrHrFcollections.abcrtypingrrrdistr warningsr r distutils.command.installcommandrrdistutils.errorsr reasy_install_clsr sub_commandsr+r%rrrnsW""""""$$$$$$//////////FFFFFFFF(((((((((......>>>>>>>KKKK]]]]]dl]]]B<, r