관리-도구
편집 파일: config.cpython-39.opt-2.pyc
a R�f=3 � @ sh d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlm Z ddd�Z G d d � d e�Zd dd�ZdS )� N)�Command)�DistutilsExecError)�customize_compiler)�logz.cz.cxx)�czc++c @ s� e Zd ZdZg d�Zdd� Zdd� Zdd� Zd d � Zdd� Z d d� Z dd� Zdd� Zdd� Z d(dd�Zd)dd�Zd*dd�Zd+dd�Zd,dd �Zd-d"d#�Zdddg fd$d%�Zd.d&d'�ZdS )/�configzprepare to build) )z compiler=Nzspecify the compiler type)zcc=Nzspecify the compiler executable)z include-dirs=�Iz.list of directories to search for header files)zdefine=�DzC preprocessor macros to define)zundef=�Uz!C preprocessor macros to undefine)z libraries=�lz!external C libraries to link with)z library-dirs=�Lz.directories to search for external C libraries)�noisyNz1show every action (compile, link, run, ...) taken)zdump-sourceNz=dump generated source files before attempting to compile themc C s4 d | _ d | _d | _d | _d | _d| _d| _g | _d S )N� )�compilerZcc�include_dirs� libraries�library_dirsr �dump_source� temp_files��self� r �=/opt/alt/python39/lib64/python3.9/distutils/command/config.py�initialize_options3 s zconfig.initialize_optionsc C s� | j d u r| jj pg | _ nt| j t�r6| j �tj�| _ | jd u rHg | _nt| jt�r^| jg| _| jd u rpg | _nt| jt�r�| j�tj�| _d S �N) r Zdistribution� isinstance�str�split�os�pathsepr r r r r r �finalize_optionsB s zconfig.finalize_optionsc C s d S r r r r r r �runR s z config.runc C sz ddl m}m} t| j|�sv|| j| jdd�| _t| j� | jrN| j�| j� | j rb| j� | j � | jrv| j�| j� d S )Nr )� CCompiler�new_compilerr )r �dry_runZforce) �distutils.ccompilerr"