관리-도구
편집 파일: config.cpython-36.pyc
3 � f3 � @ sl d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m Z ddd �ZG d d� de�Zddd �Z dS )a� distutils.command.config Implements the Distutils 'config' command, a (mostly) empty command class that exists mainly to be sub-classed by specific module distributions and applications. The idea is that while every "config" command is different, at least they're all named the same, and users always see "config" in the list of standard commands. Also, this is a good place to put common configure-like tasks: "try to compile this C code", or "figure out where this header file lives". � N)�Command)�DistutilsExecError)�customize_compiler)�logz.cz.cxx)�czc++c @ s� e Zd ZdZd>d?d@dAdBdCdDdEdFg Zdd� Zdd� Zdd� Zd d!� Zd"d#� Z d$d%� Z d&d'� Zd(d)� Zd*d+� Z dGd-d.�ZdHd/d0�ZdId1d2�ZdJd3d4�ZdKd5d6�ZdLd8d9�Zdddg fd:d;�ZdMd<d=�ZdS )N�configzprepare to build� compiler=N�specify the compiler type�cc=�specify the compiler executable� include-dirs=�I�.list of directories to search for header files�define=�D�C preprocessor macros to define�undef=�U�!C preprocessor macros to undefine� libraries=�l�!external C libraries to link with� library-dirs=�L�.directories to search for external C libraries�noisy�1show every action (compile, link, run, ...) taken�dump-source�=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'