��Qc@swdZdZddlZddlZddlmZddlmZddlm Z d�Z
defd ��YZdS(
sBdistutils.command.build
Implements the Distutils 'build' command.s$Id$i�N(tget_platform(tCommand(tDistutilsOptionErrorcCsddlm}|�dS(Ni�(tshow_compilers(tdistutils.ccompilerR(R((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pyR
stbuildc
Bs�eZdZd,d.d/dd-d d
fd0d1ddde�fd2d3d4d5gZddgZdd-d efgZd!�Z d"�Z
d#�Zd$�Zd%�Z
d&�Zd'�Zd(efd)e
fd*efd+efgZRS(6s"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
plat-name=tps6platform name to build for, if supported (default: %s)s 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 compilerscCsgd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_
d|_dS(NRi(t
build_basetNonet
build_purelibt
build_platlibt build_libt
build_tempt
build_scriptstcompilert plat_nameR
Rt
executable(tself((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pytinitialize_options7s cCs�|jdkrt�|_ntjdkr<td��nd|jtjdd!f}ttd�ru|d7}n|j dkr�tj
j|jd�|_ n|j
dkr�tj
j|jd|�|_
n|jdkr|jjr�j
|_q|j |_n|jdkr=tj
j|jd |�|_n|jdkrxtj
j|jd
tjdd!�|_n|jdkr�tj
jtj�|_ndS(NtntsW--plat-name only supported on Windows (try using './configure --help' on your platform)s.%s-%siitgettotalrefcounts-pydebugtlibttempsscripts-(RRRtostnameRtsystversionthasattrRtpathtjoinRRRtdistributiontext_modulesRRRtnormpath(Rtplat_specifier((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pytfinalize_optionsFs2
cCs(x!|j�D]}|j|�q
WdS(N(tget_sub_commandstrun_command(Rtcmd_name((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pytrunxscCs
|jj�S(N(R&thas_pure_modules(R((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pyR/�scCs
|jj�S(N(R&thas_c_libraries(R((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pyR0�scCs
|jj�S(N(R&thas_ext_modules(R((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pyR1�scCs
|jj�S(N(R&thas_scripts(R((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pyR2�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=R sspecify the compiler type(sdebugRs;compile extensions and libraries with debugging information(sforceR
s2forcibly build everything (ignore file timestamps)(sexecutable=Rs5specify final destination interpreter path (build.py)(t__name__t
__module__tdescriptionRRtuser_optionstboolean_optionsRthelp_optionsRR*R.R/R0R1R2tsub_commands(((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pyRsN
2 (t__doc__t__revision__R!Rtdistutils.utilRtdistutils.coreRtdistutils.errorsRRR(((sJ/usr/jas/src/cmd/cpython/dist/sys/lib/python2.7/distutils/command/build.pyt<module>s
|