CasperSecurity

Current Path : /lib/python3.10/distutils/command/__pycache__/
Upload File :
Current File : //lib/python3.10/distutils/command/__pycache__/build.cpython-310.pyc

o

��bc��@sTdZddlZddlZddlmZddlmZddlmZdd�Z	Gdd	�d	e�Z
dS)
zBdistutils.command.build

Implements the Distutils 'build' command.�N)�Command)�DistutilsOptionError)�get_platformcCsddlm}|�dS)Nr��show_compilers)�distutils.ccompilerrr�r�./usr/lib/python3.10/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)Nr
r)�
build_base�
build_purelib�
build_platlib�	build_lib�
build_temp�
build_scripts�compiler�	plat_namerr�
executable�parallel��selfrrr	�initialize_options8s
zbuild.initialize_optionscCsX|jdur
t�|_n	tjdkrtd��d|jgtjdd��R}ttd�r*|d7}|jdur8tj	�
|jd�|_|jdurHtj	�
|jd|�|_|j
durZ|jjrV|j|_
n|j|_
|jdurjtj	�
|jd|�|_|jdurtj	�
|jd	tjdd��|_|jdur�tjr�tj	�tj�|_t|jt�r�z	t|j�|_WdSty�td
��wdS)N�ntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z	.%s-%d.%d��gettotalrefcountz-pydebug�lib�tempz
scripts-%d.%dzparallel should be an integer)rr�os�namer�sys�version_info�hasattrr�path�joinrrr�distribution�ext_modulesrrr�normpath�
isinstancer�str�int�
ValueError)r �plat_specifierrrr	�finalize_optionsHsH


�



�



�

���zbuild.finalize_optionscCs|��D]}|�|�qdS�N)�get_sub_commands�run_command)r �cmd_namerrr	�run�s�z	build.runcC�
|j��Sr7)r.�has_pure_modulesrrrr	r=��
zbuild.has_pure_modulescCr<r7)r.�has_c_librariesrrrr	r?�r>zbuild.has_c_librariescCr<r7)r.�has_ext_modulesrrrr	r@�r>zbuild.has_ext_modulescCr<r7)r.�has_scriptsrrrr	rA�r>zbuild.has_scripts�build_py�
build_clib�	build_extr)�__name__�
__module__�__qualname__�descriptionr�user_options�boolean_optionsr�help_optionsr!r6r;r=r?r@rA�sub_commandsrrrr	r
sH�����8�r
)�__doc__r)r'�distutils.corer�distutils.errorsr�distutils.utilrrr
rrrr	�<module>s
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY