관리-도구
편집 파일: build_clib.cpython-312.pyc
� t��e � �\ � d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z d� Z G d � d e� Zy)z�distutils.command.build_clib Implements the Distutils 'build_clib' command, to build a C/C++ library that is included in the module distribution and needed by an extension module.� N� )�Command)�DistutilsSetupError)�customize_compiler)�logc � � ddl m} | � y )Nr ��show_compilers)� ccompilerr r s ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/_distutils/command/build_clib.pyr r s � �*��� c �X � e Zd ZdZg d�ZddgZdddefgZd� Zd � Z d � Z d� Zd� Zd � Z d� Zy)� build_clibz/build C/C++ libraries used by Python extensions))zbuild-clib=�bz%directory to build C/C++ libraries to)zbuild-temp=�tz,directory to put temporary build by-products)�debug�gz"compile with debugging information)�force�fz2forcibly build everything (ignore file timestamps))z compiler=�czspecify the compiler typer r z help-compilerNzlist available compilersc � � d | _ d | _ d | _ d | _ d | _ d | _ d | _ d| _ d | _ y )Nr ) r � build_temp� libraries�include_dirs�define�undefr r �compiler��selfs r �initialize_optionszbuild_clib.initialize_options/ sF � ������� ��� !�������� ��� ��� ��� r c � � | j dddddd� | j j | _ | j r| j | j � | j �| j j xs g | _ t | j t � r/| j j t j � | _ y y )N�build)r r )r r )r r )r r )r r ) �set_undefined_options�distributionr �check_library_listr � isinstance�str�split�os�pathsepr s r �finalize_optionszbuild_clib.finalize_options>