File "build_ext.cpython-36.opt-1.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python36/lib64/python3.6/distutils/command/__pycache__/build_ext.cpython-36.opt-1.pyc
File size: 16.18 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
3
fz @ s d Z ddlZddlZddlZddlZddlmZ ddlT ddlm Z m
Z
ddlmZ ddlm
Z
ddlmZ dd lmZ dd
lmZ ddlmZ ejdZd
d ZG dd deZdS )zdistutils.command.build_ext
Implements the Distutils 'build_ext' command, for building extension
modules (currently limited to C extensions, should accommodate C++
extensions ASAP). N)Command)*)customize_compilerget_python_version)get_config_h_filename)newer_group) Extension)get_platform)log) USER_BASEz3^[a-zA-Z_][a-zA-Z_0-9]*(\.[a-zA-Z_][a-zA-Z_0-9]*)*$c C s ddl m} | d S )Nr )show_compilers)distutils.ccompilerr )r r @/opt/alt/python36/lib64/python3.6/distutils/command/build_ext.pyr s r c @ s e Zd ZdZdej Zd`dad d
de fdcddde fdddedfddde fdgdhdidjdkdldmdndodpgZdd%d(d1d8gZ d:d2d;e
fgZd<d= Zd>d? Z
d@dA ZdBdC ZdDdE ZdFdG ZdHdI ZdJdK ZdLdM ZejdNdO ZdPdQ ZdRdS ZdTdU ZdVdW ZdXdY ZdZd[ Zd\d] Zd^d_ Zd2S )q build_extz8build C/C++ extensions (compile/link to build directory)z (separated by '%s')
build-lib=b(directory for compiled extension modulesbuild-temp=t1directory for temporary files (build by-products)z
plat-name=pz>platform name to cross-compile for, if supported (default: %s)inplaceiz=ignore build-lib and put compiled extensions into the source z,directory alongside your pure Python modulesz
include-dirs=Iz.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 withz
library-dirs=Lz.directories to search for external C librariesrpath=R7directories to search for shared C libraries at runtime
link-objects=O2extra explicit link objects to include in the linkdebugg'compile/link with debugging informationforcef2forcibly build everything (ignore file timestamps) compiler=cspecify the compiler type parallel=jnumber of parallel build jobsswig-cppN)make SWIG create C++ files (default is C)
swig-opts=!list of SWIG command line optionsswig=path to the SWIG executableuser#add user include, library and rpathz
help-compilerzlist available compilersc C s d | _ d | _d | _d | _d| _d | _d | _d | _d | _d | _ d | _
d | _d | _d | _
d | _d | _d | _d | _d | _d | _d | _d S )Nr )
extensions build_lib plat_name
build_tempr packageinclude_dirsdefineundef librarieslibrary_dirsrpathlink_objectsr+ r. compilerswigswig_cpp swig_optsr= parallel)selfr r r initialize_optionsj s* zbuild_ext.initialize_optionsc
C s ddl m} | jdd'd(d)d*d+d,d- | jd kr8| jj| _| jj| _|j }|jdd}| j d krn| jj pjg | _ t
| j tr| j jt
j| _ tjtjkr| j jt
jjtjd
| j j| ||kr| j j| | jd | jd | jd k rg | _| jd krg | _nt
| jtr&| jjt
j| _| jd kr:g | _nt
| jtrX| jjt
j| _t
jdkrT| jjt
jjtjd tjtjkr| jjt
jjtjd | jrt
jj| jd| _nt
jj| jd| _| j jt
jjt ttdd }|r| jj| | j dkrd}n| j dd }t
jjtjd}|rHt
jj||}| jj| tj!d d dks|tj!d d dkrtj"j#t
jjtjdr| jjt
jjtjddt$ d n| jjd |j%d r|j&s| jj|j%d! n| jjd | j'r| j'jd"}d#d$ |D | _'| j(r4| j(jd"| _(| j)d krHg | _)n| j)jd%| _)| j*rt
jjt+d
}t
jjt+d} t
jj,|r| j j| t
jj,| r| jj| | jj| t
| j-tryt.| j-| _-W n t/k
r t0d&Y nX d S ).Nr ) sysconfigZbuildr@ rB rK r+ r. rO rA )Z
plat_specificincluderG rJ ntZlibsZDebugZRelease_homewin32 ZPCbuild cygwinatheosbinlibpythonconfig.Py_ENABLE_SHAREDLIBDIR,c S s g | ]}|d fqS )1r ).0Zsymbolr r r
<listcomp>