AlkantarClanX12

Your IP : 18.223.206.84


Current Path : /opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/build.cpython-35.opt-1.pyc



��Yfc�@stdZddlZddlZddlmZddlmZddlmZdd�Z	Gdd	�d	e�Z
dS)
zBdistutils.command.build

Implements the Distutils 'build' command.�N)�Command)�DistutilsOptionError)�get_platformcCsddlm}|�dS)Nr)�show_compilers)Zdistutils.ccompilerr)r�r�</opt/alt/python35/lib64/python3.5/distutils/command/build.pyrsrc@s�eZdZdZd8d9d:d
dddfd;d<ddde�fd=d>d?d@dAgZddgZd$dd%efgZd&d'�Z	d(d)�Z
d*d+�Zd,d-�Zd.d/�Z
d0d1�Zd2d3�Zd4efd5e
fd6efd7efgZdS)B�buildz"build everything needed to install�build-base=�b� base directory for build library�build-purelib=N�2build directory for platform-neutral distributions�build-platlib=�3build directory for platform-specific distributionsz
build-lib=z9build directory for all distribution (defaults to either zbuild-purelib or build-platlib�build-scripts=�build directory for scripts�build-temp=�t�temporary build directoryz
plat-name=�pz6platform name to build for, if supported (default: %s)�	compiler=�c�specify the compiler type�	parallel=�j�number of parallel build jobs�debug�g�;compile extensions and libraries with debugging information�force�f�2forcibly build everything (ignore file timestamps)�executable=�e�5specify final destination interpreter path (build.py)z
help-compilerzlist available compilerscCspd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_dS)Nrr)�
build_base�
build_purelib�
build_platlib�	build_lib�
build_temp�
build_scriptsZcompiler�	plat_namerr�
executable�parallel)�selfrrr�initialize_options8s											zbuild.initialize_optionscCs�|jdkrt�|_ntjdkr9td��d|jtjdd�f}ttd�rr|d7}|jdkr�tj	j
|jd�|_|jdkr�tj	j
|jd|�|_|j
dkr|jjr�|j|_
n|j|_
|jdkr.tj	j
|jd	|�|_|jdkritj	j
|jd
tjdd��|_|jdkr�tj	jtj�|_t|jt�r�yt|j�|_Wntk
r�td��YnXdS)N�ntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z.%s-%sr��gettotalrefcountz-pydebug�libZtempzscripts-zparallel should be an integer)r+r�os�namer�sys�version�hasattrr&�path�joinr%r'r(�distributionZext_modulesr)r*r,�normpath�
isinstancer-�str�int�
ValueError)r.Zplat_specifierrrr�finalize_optionsHs<	 

zbuild.finalize_optionscCs(x!|j�D]}|j|�q
WdS)N)Zget_sub_commandsZrun_command)r.Zcmd_namerrr�run�sz	build.runcCs
|jj�S)N)r;�has_pure_modules)r.rrrrC�szbuild.has_pure_modulescCs
|jj�S)N)r;�has_c_libraries)r.rrrrD�szbuild.has_c_librariescCs
|jj�S)N)r;�has_ext_modules)r.rrrrE�szbuild.has_ext_modulescCs
|jj�S)N)r;�has_scripts)r.rrrrF�szbuild.has_scriptsZbuild_pyZ
build_clibZ	build_extr*)r	r
r)rNr
)rNr)rNr)rrr)rrr)rrr)rrr)rr r!)r"r#r$)�__name__�
__module__�__qualname__ZdescriptionrZuser_optionsZboolean_optionsrZhelp_optionsr/rArBrCrDrErFZsub_commandsrrrrrsR
	8			r)�__doc__r6r4Zdistutils.corerZdistutils.errorsrZdistutils.utilrrrrrrr�<module>s