�
��c@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(tget_platformcCsddkl}|�dS(Ni�(tshow_compilers(tdistutils.ccompilerR(R((s*/sys/lib/python/distutils/command/build.pyRstbuildcBs�eZdZd)d+d,dd*d d
fd-d.d/d0d1d2g
ZddgZdd*defgZd�Zd�Z d �Z
d!�Zd"�Zd#�Z
d$�Zd%efd&efd'e
fd(efgZRS(3s"build everything needed to installsbuild-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 scriptssbuild-temp=ttstemporary build directorys compiler=tcsspecify the compiler typetdebugtgs;compile extensions and libraries with debugging informationtforcetfs2forcibly build everything (ignore file timestamps)sexecutable=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-|iio|i |_
q�|i|_
n|i
djo#tii|id|�|_
n|idjo-tii|idtidd!�|_n|idjotiiti�|_ndS(Ns.%s-%siitlibttempsscripts-(RtsystversionRRtostpathtjoinR
RRtdistributiontext_modulesRRRtnormpath(Rtplat_specifier((s*/sys/lib/python/distutils/command/build.pytfinalize_optionsDs$
cCs(x!|i�D]}|i|�q
WdS(N(tget_sub_commandstrun_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(Rthas_scripts(R((s*/sys/lib/python/distutils/command/build.pyR+~stbuild_pyt
build_clibt build_extR(sbuild-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(sbuild-temp=Rstemporary build directory(s compiler=Rsspecify the compiler type(sdebugR s;compile extensions and libraries with debugging information(sforceRs2forcibly build everything (ignore file timestamps)(sexecutable=Rs5specify final destination interpreter path (build.py)(t__name__t
__module__tdescriptionRtuser_optionstboolean_optionsRthelp_optionsRR#R'R(R)R*R+tsub_commands(((s*/sys/lib/python/distutils/command/build.pyRsH $
(
t__doc__t__revision__RRtdistutils.coreRtdistutils.utilRRR(((s*/sys/lib/python/distutils/command/build.pys<module>s
|