K i\ddlmZddlZddlZddlmZddlmZmZm Z ddl m Z ddl m Z mZddlmcmZddlmZerd d lmZndZdd ZGd d ej"Zej"j0Dcgc]}|dej2vs|c}ej4ze_ycc}w)) annotationsN)Callable) TYPE_CHECKINGAnyClassVar) Distribution)SetuptoolsDeprecationWarningSetuptoolsWarning)DistutilsArgError) easy_installc|dk(r'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__)names `/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/setuptools/command/install.py __getattr__rsE z$)) 6! || 78,.@I JJceZdZUdZded<ej jddgzZej jddgzZdd 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' eggsrr install_egg_infocyNTselfs rzinstall.4rinstall_scriptscyr#r$r%s rr'zinstall.5r(rz8ClassVar[list[tuple[str, Callable[[Any], bool] | None]]] new_commandscptjddddt| d|_d|_y)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.rct||jrd|_y|jr%|js|js t dyyy)NTzAYou must specify --record or --root when building system packages)r0finalize_optionsrootr3recordr r4s rr7zinstall.finalize_optionsIsO  " 9959D 2  3 399T[['W&194rc|js |jrtjj |Sd|_d|_y)N)r8r3rrhandle_extra_path path_file extra_dirsr%s rr<zinstall.handle_extra_pathSs9 99>><<11$7 7rc|Fd}tj|tjdk(rd}tj|yt j |}|ddD]f}|dd\}t j |}|jjd d }|d k(r|jd k(rP|d k(xr|jdk(cSy)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+'' 2Aa[ YEbq IV''/D",,00R@M 11dmm}6T $44X.9X X Yr)returnNone)r __module__ __qualname____doc____annotations__rr user_optionsboolean_optionsr+dict_ncr1r7r< staticmethodrS __classcell__)r5s@rrr sA<<,,> 0Lll22+6O ./ -.NLJ | C6  rr)rstr) __future__rrFrDcollections.abcrtypingrrrdistr warningsr r distutils.command.installcommandrrdistutils.errorsr reasy_install_clsr sub_commandsr]r+)cmds0rrls"$//F((.>K]dll]D<<,, Agkk0IC s 8B)B)