Your IP : 3.145.107.223


Current Path : /opt/alt/python34/lib64/python3.4/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/distutils/command/__pycache__/build.cpython-34.pyo

�
h f%�@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/python34/lib64/python3.4/distutils/command/build.pyrsrc
@s�eZdZdZd5d6d7d
dddfd8d9ddde�fd:d;d<d=gZddgZd!dd"efgZd#d$�Z	d%d&�Z
d'd(�Zd)d*�Zd+d,�Z
d-d.�Zd/d0�Zd1efd2e
fd3efd4efgZdS)>�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�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 compilerscCsgd|_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)�selfrrr�initialize_options6s										zbuild.initialize_optionscCs�|jdkrt�|_ntjdkr<td��nd|jtjdd�f}ttd�rx|d7}n|jdkr�tj	j
|jd�|_n|jdkr�tj	j
|jd|�|_n|j
dkr|jjr|j|_
q|j|_
n|jdkr@tj	j
|jd	|�|_n|jdkr~tj	j
|jd
tjdd��|_n|jdkr�tj	jtj�|_ndS)N�ntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z.%s-%sr��gettotalrefcountz-pydebug�libZtempzscripts-)r(r�os�namer�sys�version�hasattrr#�path�joinr"r$r%�distributionZext_modulesr&r'r)�normpath)r*Zplat_specifierrrr�finalize_optionsEs2 
 zbuild.finalize_optionscCs(x!|j�D]}|j|�q
WdS)N)Zget_sub_commandsZrun_command)r*Zcmd_namerrr�runwsz	build.runcCs
|jj�S)N)r7�has_pure_modules)r*rrrr;�szbuild.has_pure_modulescCs
|jj�S)N)r7�has_c_libraries)r*rrrr<�szbuild.has_c_librariescCs
|jj�S)N)r7�has_ext_modules)r*rrrr=�szbuild.has_ext_modulescCs
|jj�S)N)r7�has_scripts)r*rrrr>�szbuild.has_scriptsZbuild_pyZ
build_clibZ	build_extr')r	r
r)rNr
)rNr)rNr)rrr)rrr)zdebugrr)zforcerr)rr r!)�__name__�
__module__�__qualname__ZdescriptionrZuser_optionsZboolean_optionsrZhelp_optionsr+r9r:r;r<r=r>Zsub_commandsrrrrrsN
	2			r)�__doc__r2r0Zdistutils.corerZdistutils.errorsrZdistutils.utilrrrrrrr�<module>s

?>