³ò žl‡Jc@sgdZdZddkZddkZddklZddklZd„Zdefd„ƒYZ dS( sBdistutils.command.build Implements the Distutils 'build' command.s1$Id: build.py 37828 2004-11-10 22:23:15Z loewis $iÿÿÿÿN(tCommand(t get_platformcCsddkl}|ƒdS(Niÿÿÿÿ(tshow_compilers(tdistutils.ccompilerR(R((s*/sys/lib/python/distutils/command/build.pyRstbuildc BsÉeZdZd)d+d,dd*d d fd-d.d/d0d1d2g ZddgZdd*defgZd„Zd„Z d „Z d!„Z d"„Z d#„Z d$„Zd%e fd&e fd'e fd(efgZRS(3s"build everything needed to installs build-base=tbs base directory for build librarysbuild-purelib=s2build directory for platform-neutral distributionssbuild-platlib=s3build directory for platform-specific distributionss build-lib=s9build directory for all distribution (defaults to either sbuild-purelib or build-platlibsbuild-scripts=sbuild directory for scriptss build-temp=ttstemporary build directorys compiler=tcsspecify the compiler typetdebugtgs;compile extensions and libraries with debugging informationtforcetfs2forcibly build everything (ignore file timestamps)s executable=tes5specify final destination interpreter path (build.py)s help-compilerslist available compilerscCs^d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ dS(NRi( t build_basetNonet build_purelibt build_platlibt build_libt build_tempt build_scriptstcompilerRR t executable(tself((s*/sys/lib/python/distutils/command/build.pytinitialize_options6s         cCs\dtƒtidd!f}|idjotii|idƒ|_n|i djo#tii|id|ƒ|_ n|i djo-|i i o|i |_ q¼|i|_ n|i djo#tii|id|ƒ|_ n|idjo-tii|idtidd!ƒ|_n|idjotiitiƒ|_ndS(Ns.%s-%siitlibttempsscripts-(RtsystversionRRtostpathtjoinR RRt distributiont ext_modulesRRRtnormpath(Rtplat_specifier((s*/sys/lib/python/distutils/command/build.pytfinalize_optionsDs$ cCs(x!|iƒD]}|i|ƒq WdS(N(tget_sub_commandst run_command(Rtcmd_name((s*/sys/lib/python/distutils/command/build.pytrunhs cCs |iiƒS(N(Rthas_pure_modules(R((s*/sys/lib/python/distutils/command/build.pyR(uscCs |iiƒS(N(Rthas_c_libraries(R((s*/sys/lib/python/distutils/command/build.pyR)xscCs |iiƒS(N(Rthas_ext_modules(R((s*/sys/lib/python/distutils/command/build.pyR*{scCs |iiƒS(N(Rt has_scripts(R((s*/sys/lib/python/distutils/command/build.pyR+~stbuild_pyt build_clibt build_extR(s build-base=Rs base directory for build libraryN(sbuild-purelib=Ns2build directory for platform-neutral distributions(sbuild-platlib=Ns3build directory for platform-specific distributions(sbuild-scripts=Nsbuild directory for scripts(s build-temp=Rstemporary build directory(s compiler=Rsspecify the compiler type(sdebugR s;compile extensions and libraries with debugging information(sforceR s2forcibly build everything (ignore file timestamps)(s executable=R s5specify final destination interpreter path (build.py)(t__name__t __module__t descriptionRt user_optionstboolean_optionsRt help_optionsRR#R'R(R)R*R+t sub_commands(((s*/sys/lib/python/distutils/command/build.pyRsH    $       ( t__doc__t __revision__RRtdistutils.coreRtdistutils.utilRRR(((s*/sys/lib/python/distutils/command/build.pyss