OwlCyberSecurity - MANAGER
Edit File: build.cpython-36.opt-1.pyc
3 � \t������������������@���sT���d�Z�ddlZddlZddlmZ�ddlmZ�ddlmZ�dd��Z G�dd ��d e�Z dS�) zBdistutils.command.build Implements the Distutils 'build' command.�����N)�Command)�DistutilsOptionError)�get_platformc��������������C���s���ddl�m}��|����d�S�)Nr���)�show_compilers)Zdistutils.ccompilerr���)r�����r����//usr/lib64/python3.6/distutils/command/build.pyr������s����r���c���������������@���s����e�Zd�ZdZd8d9d:d<d=d>ddde���fd?d@dAdBdCgZddgZd$dd%efgZd&d'��Z d(d)��Z d*d+��Zd,d-��Zd.d/��Z d0d1��Zd2d3��Zd4efd5e fd6efd7efgZdS�)D�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 distributions� 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 compilersc�������������C���sL���d|�_�d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d|�_ d�|�_ d�|�_d�S�)Nr���r���)� build_base� build_purelib� build_platlib� build_lib� build_temp� build_scriptsZcompiler� plat_namer���r ���� executable�parallel)�selfr���r���r����initialize_options8���s����zbuild.initialize_optionsc�������������C���sZ��|�j�d�krt��|�_�ntjdkr&td��d|�j�ftjd�d����}ttd�rR|d7�}|�jd�krntj j |�jd�|�_|�jd�kr�tj j |�jd|��|�_|�j d�kr�|�jjr�|�j|�_ n|�j|�_ |�jd�kr�tj j |�jd|��|�_|�jd�kr�tj j |�jd tjd�d����|�_|�jd�k�rtj jtj�|�_t|�jt��rVyt|�j�|�_W�n�tk �rT���td ��Y�nX�d�S�)N�ntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z .%s-%d.%d�����gettotalrefcountz-pydebug�libZtempz scripts-%d.%dzparallel should be an integer)r,���r����os�namer����sys�version_info�hasattrr'����path�joinr&���r(���r)����distributionZext_modulesr*���r+���r-����normpath� isinstancer.����str�int� ValueError)r/���Zplat_specifierr���r���r����finalize_optionsH���s<���� zbuild.finalize_optionsc�������������C���s ���x|�j���D�]}|�j|��q W�d�S�)N)Zget_sub_commandsZrun_command)r/���Zcmd_namer���r���r����run����s����z build.runc�������������C���s ���|�j�j��S�)N)r<����has_pure_modules)r/���r���r���r���rD�������s����zbuild.has_pure_modulesc�������������C���s ���|�j�j��S�)N)r<����has_c_libraries)r/���r���r���r���rE�������s����zbuild.has_c_librariesc�������������C���s ���|�j�j��S�)N)r<����has_ext_modules)r/���r���r���r���rF�������s����zbuild.has_ext_modulesc�������������C���s ���|�j�j��S�)N)r<����has_scripts)r/���r���r���r���rG�������s����zbuild.has_scriptsZbuild_pyZ build_clibZ build_extr+���)r ���r ���r���)r���Nr ���)r���Nr����Wbuild directory for all distribution (defaults to either build-purelib or build-platlib)r���NrH���)r���Nr���)r���r���r���)r���r���r���)r���r���r���)r���r���r���)r ���r!���r"���)r#���r$���r%���)�__name__� __module__�__qualname__Zdescriptionr���Zuser_optionsZboolean_optionsr���Zhelp_optionsr0���rB���rC���rD���rE���rF���rG���Zsub_commandsr���r���r���r���r������sR��������������� 8r���)�__doc__r7���r5���Zdistutils.corer���Zdistutils.errorsr���Zdistutils.utilr���r���r���r���r���r���r����<module>���s���