Hacked By AnonymousFox

Current Path : /opt/alt/python37/lib64/python3.7/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/distutils/command/__pycache__/build.cpython-37.opt-2.pyc

B

YI~d��@sPddlZddlZddlmZddlmZddlmZdd�ZGdd�de�Z	dS)	�N)�Command)�DistutilsOptionError)�get_platformcCsddlm}|�dS)Nr)�show_compilers)Zdistutils.ccompilerr)r�r�</opt/alt/python37/lib64/python3.7/distutils/command/build.pyrsrc@s�eZdZdZdddddddd	d
e�fddd
ddgZddgZdddefgZdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd �Zd!d"�Zd#efd$e
fd%efd&efgZdS)'�buildz"build everything needed to install)zbuild-base=�bz base directory for build library)zbuild-purelib=Nz2build directory for platform-neutral distributions)zbuild-platlib=Nz3build directory for platform-specific distributions)z
build-lib=NzWbuild directory for all distribution (defaults to either build-purelib or build-platlib)zbuild-scripts=Nzbuild directory for scripts)zbuild-temp=�tztemporary build directoryz
plat-name=�pz6platform name to build for, if supported (default: %s))z	compiler=�czspecify the compiler type)z	parallel=�jznumber of parallel build jobs)�debug�gz;compile extensions and libraries with debugging information)�force�fz2forcibly build everything (ignore file timestamps))zexecutable=�ez5specify final destination interpreter path (build.py)rrz
help-compilerNzlist available compilerscCsLd|_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_options8szbuild.initialize_optionscCsb|jdkrt�|_ntjdkr&td��d|jftjdd��}ttd�rR|d7}|jdkrntj	�
|jd�|_|jdkr�tj	�
|jd|�|_|j
dkr�|jjr�|j|_
n|j|_
|jdkr�tj	�
|jd|�|_|jdkr�tj	�
|jd	tjdd��|_|jdk�r tj�r tj	�tj�|_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-%d.%d�Zgettotalrefcountz-pydebug�libZtempz
scripts-%d.%dzparallel should be an integer)rr�os�namer�sys�version_info�hasattrr�path�joinrrr�distributionZext_modulesrrr�normpath�
isinstancer�str�int�
ValueError)rZplat_specifierrrr�finalize_optionsHs<












zbuild.finalize_optionscCs x|��D]}|�|�q
WdS)N)Zget_sub_commandsZrun_command)rZcmd_namerrr�run�sz	build.runcCs
|j��S)N)r(�has_pure_modules)rrrrr0�szbuild.has_pure_modulescCs
|j��S)N)r(�has_c_libraries)rrrrr1�szbuild.has_c_librariescCs
|j��S)N)r(�has_ext_modules)rrrrr2�szbuild.has_ext_modulescCs
|j��S)N)r(�has_scripts)rrrrr3�szbuild.has_scriptsZbuild_pyZ
build_clibZ	build_extr)�__name__�
__module__�__qualname__�descriptionrZuser_optionsZboolean_optionsrZhelp_optionsrr.r/r0r1r2r3Zsub_commandsrrrrrs:
8r)
r#r!Zdistutils.corerZdistutils.errorsrZdistutils.utilrrrrrrr�<module>s


Hacked By AnonymousFox1.0, Coded By AnonymousFox