Plan 9 from Bell Labs’s /usr/web/sources/contrib/bichued/root/sys/lib/python/distutils/command/bdist.pyc

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


�
��c	@s{dZdZddkZddkZddkTddklZddkTddkl	Z	d�Z
defd	��YZdS(
sidistutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution).s1$Id: bdist.py 37828 2004-11-10 22:23:15Z loewis $i�N(t*(tCommand(tget_platformcCslddkl}g}x6tiD]+}|id|dti|df�q W||�}|id�dS(sFPrint list of available formats (arguments to "--format" option).
    i�(tFancyGetoptsformats=is'List of available distribution formats:N(tdistutils.fancy_getoptRtbdisttformat_commandstappendtNonetformat_commandt
print_help(Rtformatstformattpretty_printer((s*/sys/lib/python/distutils/command/bdist.pytshow_formatss
RcBs�eZdZd'ddde�fd)d*d+gZdgZdd(defgZd,Z	hdd<dd<dd<Z
dddddddgZhd-d<d.d<d/d<d0d<d1d<d2d<d3d<d4d<Zd$�Z
d%�Zd&�ZRS(5s$create a built (binary) distributionsbdist-base=tbs4temporary directory for creating built distributionss
plat-name=tps;platform name to embed in generated filenames (default: %s)sformats=s/formats for distribution (comma-separated list)s	dist-dir=tds=directory to put final built distributions in [default: dist]s
skip-builds2skip rebuilding everything (for testing/debugging)shelp-formatss$lists available distribution formatst	bdist_rpmtgztartposixtziptnttos2trpmtbztartztarttartwininstsRPM distributiont
bdist_dumbsZIP filesgzip'ed tar filesbzip2'ed tar filescompressed tar filestar filet
bdist_wininstsWindows executable installercCs1d|_d|_d|_d|_d|_dS(Ni(Rt
bdist_baset	plat_nameRtdist_dirt
skip_build(tself((s*/sys/lib/python/distutils/command/bdist.pytinitialize_optionsWs
				cCs�|idjot�|_n|idjo5|id�i}tii|d|i�|_n|i	d�|i
djoHy|itig|_
Wq�t
j
otddti�q�Xn|idjo
d|_ndS(Ntbuildsbdist.Rs-don't know how to create built distributions son platform %stdist(R RRRtget_finalized_commandt
build_basetostpathtjointensure_string_listRtdefault_formattnametKeyErrortDistutilsPlatformErrorR!(R#R(((s*/sys/lib/python/distutils/command/bdist.pytfinalize_optionsas 
cCs�g}xP|iD]E}y|i|i|d�Wqtj
otd|�qXqWx�tt|i��D]r}||}|i|�}||ijo|i||_	n|||djo
d|_
n|i|�qoWdS(Nisinvalid format '%s'i(RRR	R/tDistutilsOptionErrortrangetlentreinitialize_commandtno_format_optionRt	keep_temptrun_command(R#tcommandsRtitcmd_nametsub_cmd((s*/sys/lib/python/distutils/command/bdist.pytrun}s 


(sbdist-base=Rs4temporary directory for creating built distributionsN(sformats=Ns/formats for distribution (comma-separated list)(s	dist-dir=Rs=directory to put final built distributions in [default: dist](s
skip-buildNs2skip rebuilding everything (for testing/debugging)(s	bdist_rpm(s	bdist_rpmsRPM distribution(s
bdist_dumbsZIP file(s
bdist_dumbsgzip'ed tar file(s
bdist_dumbsbzip2'ed tar file(s
bdist_dumbscompressed tar file(s
bdist_dumbstar file(s
bdist_wininstsWindows executable installer(s
bdist_dumbsZIP file(t__name__t
__module__tdescriptionRRtuser_optionstboolean_optionsRthelp_optionsR6R-RR	R$R1R=(((s*/sys/lib/python/distutils/command/bdist.pyRsB
		
	
							
	(t__doc__t__revision__R)tstringttypestdistutils.coreRtdistutils.errorstdistutils.utilRRR(((s*/sys/lib/python/distutils/command/bdist.pys<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 webmaster@9p.io.