MINI MINI MANI MO
3
  \3                 @   sl   d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl	m
Z
 ddd	ZG d
d deZddd
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/d0ZdId1d2ZdJd3d4ZdKd5d6ZdLd8d9Zdddg fd:d;ZdMd<d=ZdS )Nconfigzprepare to build	compiler=Nspecify the compiler typecc=specify the compiler executable
include-dirs=I.list of directories to search for header filesdefine=DC preprocessor macros to defineundef=U!C preprocessor macros to undefine
libraries=l!external C libraries to link with
library-dirs=L.directories to search for external C librariesnoisy1show every action (compile, link, run, ...) takendump-source=dump generated source files before attempting to compile themc             C   s4   d | _ d | _d | _d | _d | _d| _d| _g | _d S )N   )compilerZccinclude_dirs	librarieslibrary_dirsr   dump_source
temp_files)self r'   0/usr/lib64/python3.6/distutils/command/config.pyinitialize_options3   s    zconfig.initialize_optionsc             C   s   | j d kr| jj pg | _ nt| j tr6| j jtj| _ | jd krHg | _nt| jtr^| jg| _| jd krpg | _nt| jtr| jjtj| _d S )N)	r!   Zdistribution
isinstancestrsplitospathsepr"