gh`dZddlZddlZddlmZddlmZddlmZdZ Gdd eZ dS) zBdistutils.command.build Implements the Distutils 'build' command.N)Command)DistutilsOptionError) get_platformc&ddlm}|dS)Nrshow_compilers) ccompilerr rs /builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/_distutils/command/build.pyr r s(******Nc eZdZdZdddddddd d ezfd d d ddg ZddgZdddefgZdZ dZ dZ dZ dZ dZdZde fde fdefdefgZdS) buildz"build everything needed to install)z build-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)z build-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)debuggz;compile extensions and libraries with debugging information)forcefz2forcibly build everything (ignore file timestamps))z executable=ez5specify final destination interpreter path (build.py)rrz help-compilerNzlist available compilerscd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ dS)Nrr) build_base build_purelib build_platlib build_lib build_temp build_scriptscompiler plat_namerr executableparallelselfs r initialize_optionszbuild.initialize_options4s_!"!!    r cZ|jt|_ntjdkrt dd|jt jj}tt dr|dz }|j *tj |j d|_ |j-tj |j d|z|_|j2|jr |j|_n |j |_|j-tj |j d|z|_|j?tj |j dt jdd z|_|j:t jr.tj t j|_t/|jt2r9 t5|j|_dS#t6$rt d wxYwdS) NntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z.{}-{}gettotalrefcountz-pydebuglibtempz scripts-%d.%drzparallel should be an integer)r!rosnamerformatsysimplementation cache_taghasattrrpathjoinrrr distributionhas_ext_modulesrr version_infor"normpath isinstancer#strint ValueError)r%plat_specifiers r finalize_optionszbuild.finalize_optionsDs > !)^^DNN w$*C "9K9UVV 3* + + ) j (N   %!#dou!E!ED    %!#dou~?U!V!VD  > ! 0022 4!%!3!%!3 ? " gll4?F^>DO dmS ) ) L L #DM 2 2  L L L*+JKKK L L Ls 3HH(c^|D]}||dSN)get_sub_commands run_command)r%cmd_names r runz build.run|s@ --// ' 'H   X & & & & ' 'r c4|jSr@)r5has_pure_modulesr$s r rFzbuild.has_pure_moduless 11333r c4|jSr@)r5has_c_librariesr$s r rHzbuild.has_c_libraries 00222r c4|jSr@)r5r6r$s r r6zbuild.has_ext_modulesrIr c4|jSr@)r5 has_scriptsr$s r rLzbuild.has_scriptss ,,...r build_py build_clib build_extr)__name__ __module__ __qualname__ descriptionr user_optionsboolean_optionsr help_optionsr&r>rDrFrHr6rL sub_commandsr r rrs6K AVW @9   *lnn - 8;ULU-L2(O $ :NKL 6L6L6Lp'''444333333/// %& ' o& +& LLLr r) __doc__r/r,corererrorsrutilrr rrXr r r]s-- )))))) FFFFFGFFFFFr