]'4 Z d Z ddlZddlZddlZddlmZmZmZmZm Z ddl mZmZ ddl mZ dZ ddlZdZeZej Zej Zej Zej ZnP# e$ rH ddlZddlZdZeZej Zej Zej Zej Zn# e$ r ej d Y nw xY wY nw xY werej ej ej ej! fZ" ej# d e$ d Z%d Z&d Z' G d d Z(d Z)d Z*d Z+ G d de Z, e) dk r ej- d e,Z.ddl/m,Z, ddl/m(Z( dS dS )zdistutils.msvccompiler Contains MSVCCompiler, an implementation of the abstract CCompiler class for the Microsoft Visual Studio. N )DistutilsExecErrorDistutilsPlatformErrorCompileErrorLibError LinkError) CCompilergen_lib_options)logFTzWarning: Can't read registry to find the necessary compiler setting Make sure that Python modules winreg, win32api or win32con are installed.zmsvccompiler is deprecated and slated to be removed in the future. Please discontinue use or file an issue with pypa/distutils describing your use case.c t | | }n# t $ r Y dS w xY wg }d} t || }n# t $ r Y nw xY w| | |dz }=|S )zReturn list of registry keys.Nr Tr )RegOpenKeyExRegError RegEnumKeyappend)basekeyhandleLiks /builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el9.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/_distutils/msvccompiler.py read_keysr J s dC(( tt A A 61%%AA E Q Hs !!; AAc t | | }n# t $ r Y dS w xY wi }d} t || \ }}}n# t $ r Y n=w xY w| }t | |t | <