JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrJFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr h f%@stdZddlZddlZddlmZddlmZddlmZddZ Gdd d eZ dS) zBdistutils.command.build Implements the Distutils 'build' command.N)Command)DistutilsOptionError) get_platformcCsddlm}|dS)Nr)show_compilers)Zdistutils.ccompilerr)rrbuildz"build everything needed to install build-base=b base directory for build librarybuild-purelib=N2build directory for platform-neutral distributionsbuild-platlib=3build directory for platform-specific distributionsz build-lib=z9build directory for all distribution (defaults to either zbuild-purelib or build-platlibbuild-scripts=build directory for scripts build-temp=ttemporary build directoryz plat-name=pz6platform name to build for, if supported (default: %s) compiler=cspecify the compiler typedebugg;compile extensions and libraries with debugging informationforcef2forcibly build everything (ignore file timestamps) executable=e5specify final destination interpreter path (build.py)z help-compilerzlist available compilerscCsgd|_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)selfrrrinitialize_options6s          zbuild.initialize_optionscCs|jdkrt|_ntjdkr<tdnd|jtjddf}ttdrx|d7}n|jdkrtj j |j d|_n|j dkrtj j |j d||_ n|j dkr|jjr|j |_ q|j|_ n|jdkr@tj j |j d ||_n|jdkr~tj j |j d tjdd|_n|jdkrtj jtj|_ndS) NntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z.%s-%srgettotalrefcountz-pydebuglibZtempzscripts-)r(rosnamersysversionhasattrr#pathjoinr"r$r% distributionZ ext_modulesr&r'r)normpath)r*Zplat_specifierrrrfinalize_optionsEs2     zbuild.finalize_optionscCs(x!|jD]}|j|q WdS)N)Zget_sub_commandsZ run_command)r*Zcmd_namerrrrunwsz build.runcCs |jjS)N)r7has_pure_modules)r*rrrr;szbuild.has_pure_modulescCs |jjS)N)r7has_c_libraries)r*rrrr<szbuild.has_c_librariescCs |jjS)N)r7has_ext_modules)r*rrrr=szbuild.has_ext_modulescCs |jjS)N)r7 has_scripts)r*rrrr>szbuild.has_scriptsZbuild_pyZ build_clibZ build_extr')r r r )r Nr )rNr)rNr)rrr)rrr)zdebugrr)zforcerr)rr r!)__name__ __module__ __qualname__Z descriptionrZ user_optionsZboolean_optionsrZ help_optionsr+r9r:r;r<r=r>Z sub_commandsrrrrrsN      2       r) __doc__r2r0Zdistutils.corerZdistutils.errorsrZdistutils.utilrrrrrrrs