a „oeÐã@sTdZddlZddlZddlmZddlmZddlmZdd„Z Gd d „d eƒZ dS) zBdistutils.command.build Implements the Distutils 'build' command.éNé)ÚCommand)ÚDistutilsOptionError)Ú get_platformcCsddlm}|ƒdS)Nr©Úshow_compilers)Z ccompilerrr©rúDC:\Program Files\Certbot\pkgs\setuptools\_distutils\command\build.pyr s rc @s¢eZdZdZdddddddd d eƒfd d d ddg ZddgZdddefgZdd„Z dd„Z dd„Z dd„Z dd„Z dd „Zd!d"„Zd#e fd$e fd%efd&efgZdS)'Ú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)ÚdebugÚgz;compile extensions and libraries with debugging information)ÚforceÚfz2forcibly build everything (ignore file timestamps))z executable=Ú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_scriptsZcompilerÚ plat_namerrÚ executableÚparallel©Úselfrrr Úinitialize_options4szbuild.initialize_optionscCsZ|jdurtƒ|_ntjdkr&tdƒ‚d |jtjj¡}t tdƒrJ|d7}|j durftj   |j d¡|_ |jdur†tj   |j d|¡|_|jdur¬|j ¡r¤|j|_n|j |_|jdurÌtj   |j d|¡|_|jdurötj   |j dtjdd …¡|_|jdu�rtj�rtj  tj¡|_t|jtƒ�rVzt|jƒ|_Wnt�yTtd ƒ‚Yn0dS) NÚntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z.{}-{}Zgettotalrefcountz-pydebugÚlibZtempz scripts-%d.%drzparallel should be an integer)rrÚosÚnamerÚformatÚsysÚimplementationÚ cache_tagÚhasattrrÚpathÚjoinrrrÚ distributionÚhas_ext_modulesrrÚ version_inforÚnormpathÚ isinstancerÚstrÚintÚ ValueError)rZplat_specifierrrr Úfinalize_optionsDs<   ÿ        ÿzbuild.finalize_optionscCs| ¡D]}| |¡qdS©N)Zget_sub_commandsZ run_command)rZcmd_namerrr Úrun|s z build.runcCs |j ¡Sr5)r,Úhas_pure_modulesrrrr r7‡szbuild.has_pure_modulescCs |j ¡Sr5)r,Úhas_c_librariesrrrr r8Šszbuild.has_c_librariescCs |j ¡Sr5)r,r-rrrr r-�szbuild.has_ext_modulescCs |j ¡Sr5)r,Ú has_scriptsrrrr r9�szbuild.has_scriptsZbuild_pyZ build_clibZ build_extr)Ú__name__Ú __module__Ú __qualname__Ú descriptionrZ user_optionsZboolean_optionsrZ help_optionsr r4r6r7r8r-r9Z sub_commandsrrrr r sDÿýê ÿ8 ür ) Ú__doc__r&r#ZcorerÚerrorsrÚutilrrr rrrr Ús