zmc
2023-10-12 ed135d79df12a2466b52dae1a82326941211dcc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
U
G=®daã@s|ddlmZddlZddlZddlZddlZddlmmZ    ddl
Z
e    jZ Gdd„de    jƒZdd„e    jj Dƒej e_ dS)é)ÚDistutilsArgErrorNc@s„eZdZdZejjddgZejjddgZddd„fd    d
d„fgZe    eƒZ
d d „Z d d„Z dd„Z dd„Zedd„ƒZdd„ZdS)Úinstallz7Use easy_install to install the package, w/dependencies)úold-and-unmanageableNzTry not to use this!)ú!single-version-externally-managedNz5used by system package builders to create 'flat' eggsrrÚinstall_egg_infocCsdS©NT©©ÚselfrrúQD:\z\workplace\VsCode\pyvenv\venv\Lib\site-packages\setuptools/command/install.pyÚ<lambda>ózinstall.<lambda>Úinstall_scriptscCsdSrrr    rrr r r cCstj |¡d|_d|_dS©N)ÚorigrÚinitialize_optionsÚold_and_unmanageableÚ!single_version_externally_managedr    rrr r s zinstall.initialize_optionscCs8tj |¡|jrd|_n|jr4|js4|js4tdƒ‚dS)NTzAYou must specify --record or --root when building system packages)rrÚfinalize_optionsÚrootrÚrecordrr    rrr r%s  ÿzinstall.finalize_optionscCs(|js |jrtj |¡Sd|_d|_dS)NÚ)rrrrÚhandle_extra_pathÚ    path_fileÚ
extra_dirsr    rrr r0s  zinstall.handle_extra_pathcCs@|js |jrtj |¡S| t ¡¡s4tj |¡n| ¡dSr)    rrrrÚrunÚ_called_from_setupÚinspectÚ currentframeÚdo_egg_installr    rrr r:s
  z install.runcCsz|dkr4d}t |¡t ¡dkr0d}t |¡dSt |¡d}|dd…\}t |¡}|j dd    ¡}|d
kox|j    d kS) 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.TééÚ__name__rzdistutils.distÚ run_commands)
ÚwarningsÚwarnÚplatformÚpython_implementationrÚgetouterframesÚ getframeinfoÚ    f_globalsÚgetÚfunction)Z    run_frameÚmsgÚresZcallerÚinfoZ caller_modulerrr rEs 
 
 
þzinstall._called_from_setupcCsŒ|j d¡}||jd|j|jd}| ¡d|_|j t d¡¡|     d¡|j 
d¡j g}t j rp| dt j ¡||_|jdd    dt _ dS)
NÚ easy_installÚx)ÚargsrrÚ.z*.eggZ    bdist_eggrF)Zshow_deprecation)Ú distributionÚget_command_classrrÚensure_finalizedZalways_copy_fromZ package_indexÚscanÚglobÚ run_commandÚget_command_objZ
egg_outputÚ
setuptoolsZbootstrap_install_fromÚinsertr3r)r
r1Úcmdr3rrr r`s" ÿ
 zinstall.do_egg_installN)r#Ú
__module__Ú __qualname__Ú__doc__rrÚ user_optionsÚboolean_optionsÚ new_commandsÚdictÚ_ncrrrrÚ staticmethodrrrrrr rs(þÿ
 
þ 
 
rcCsg|]}|dtjkr|‘qS)r)rrF)Ú.0r>rrr Ú
<listcomp>{srI)Údistutils.errorsrrr9r%r'Údistutils.command.installÚcommandrrr<Ú_installÚ sub_commandsrDrrrr Ú<module>s lÿÿ