Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/distutils/command/build.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@swdZdZddlZddlZddlmZddlmZddlm	Z	d�Z
defd	��YZdS(
sBdistutils.command.build

Implements the Distutils 'build' command.s$Id$i�N(tget_platform(tCommand(tDistutilsOptionErrorcCsddlm}|�dS(Ni�(tshow_compilers(tdistutils.ccompilerR(R((s-/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$�Zd%�Z
d&�Zd'�Zd(efd)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
Rt
executable(tself((s-/sys/lib/python2.7/distutils/command/build.pytinitialize_options7s										cCs�|jdkrt�|_ntjdkr<td��nd|jtjdd!f}ttd�ru|d7}n|j	dkr�tj
j|jd�|_	n|j
dkr�tj
j|jd|�|_
n|jdkr|jjr�j
|_q|j	|_n|jdkr=tj
j|jd	|�|_n|jdkrxtj
j|jd
tjdd!�|_n|jdkr�tj
jtj�|_ndS(NtntsW--plat-name only supported on Windows (try using './configure --help' on your platform)s.%s-%siitgettotalrefcounts-pydebugtlibttempsscripts-(RRRtostnameRtsystversionthasattrRtpathtjoinRRRtdistributiontext_modulesRRRtnormpath(Rtplat_specifier((s-/sys/lib/python2.7/distutils/command/build.pytfinalize_optionsFs2
cCs(x!|j�D]}|j|�q
WdS(N(tget_sub_commandstrun_command(Rtcmd_name((s-/sys/lib/python2.7/distutils/command/build.pytrunxscCs
|jj�S(N(R&thas_pure_modules(R((s-/sys/lib/python2.7/distutils/command/build.pyR/�scCs
|jj�S(N(R&thas_c_libraries(R((s-/sys/lib/python2.7/distutils/command/build.pyR0�scCs
|jj�S(N(R&thas_ext_modules(R((s-/sys/lib/python2.7/distutils/command/build.pyR1�scCs
|jj�S(N(R&thas_scripts(R((s-/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__tdescriptionRRtuser_optionstboolean_optionsRthelp_optionsRR*R.R/R0R1R2tsub_commands(((s-/sys/lib/python2.7/distutils/command/build.pyRsN
			2								(t__doc__t__revision__R!Rtdistutils.utilRtdistutils.coreRtdistutils.errorsRRR(((s-/sys/lib/python2.7/distutils/command/build.pyt<module>s	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].