zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
U
O±dU ã@sfddlZdejkr*ddlmmZdZnddlmmZdZddlm    Z    ejZ
Gdd„de
ƒZdS)éNÚ
setuptoolsTF)Ú
write_filec@s8eZdZejddd„fgZdd„Zdd„Zdd    „Zd
S) ÚinstallZ install_clibcCsdS)NT©)ÚxrrúVd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/distutils/command/install.pyÚ<lambda>ózinstall.<lambda>cCst |¡|j|_dS)N)Ú old_installÚfinalize_optionsÚinstall_libbaseÚ install_lib)Úselfrrrr s
zinstall.finalize_optionscCsjddlm}|js|jr"| |¡St d¡}|j dd¡}|j    j
}|dksR|dkr^| |¡n|  ¡dS)    zÌ The setuptools version of the .run() method.
 
        We must pull in the entire code so we can override the level used in the
        _getframe() call since we wrap this call by one more level.
        r)réÚ__name__Úzdistutils.distÚ run_commandsN) Údistutils.command.installrZold_and_unmanageableZ!single_version_externally_managedÚrunÚsysÚ    _getframeÚ    f_globalsÚgetÚf_codeÚco_nameZdo_egg_install)rZdistutils_installZcallerZ caller_moduleZ caller_namerrrÚsetuptools_runs  
 
 
 zinstall.setuptools_runc    Cstst |¡}n| ¡}|jrŒt|jdƒ>}g}d}|D]*}| ¡}d|krXd}d|}| |¡q8W5QRX|rŒ| t    |j|fd|j¡|S)NÚrFú Tz"%s"z*re-writing list of installed files to '%s')
Úhave_setuptoolsr
rrÚrecordÚopenÚrstripÚappendÚexecuter)rrÚfÚlinesZ need_rewriteÚlrrrr8s* ÿþz install.runN)rÚ
__module__Ú __qualname__r
Ú sub_commandsr rrrrrrr s 
ÿ r) rÚmodulesZsetuptools.command.installÚcommandrZold_install_modrrÚdistutils.file_utilrr
rrrrÚ<module>s