ok

Mini Shell

Direktori : /proc/thread-self/root/proc/thread-self/root/lib64/python2.7/distutils/command/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/lib64/python2.7/distutils/command/bdist.pyc

�
{fc@sqdZdZddlZddlmZddlmZddlmZm	Z	d�Z
defd	��YZdS(
sidistutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution).s$Id$i����N(tget_platform(tCommand(tDistutilsPlatformErrortDistutilsOptionErrorcCslddlm}g}x6tjD]+}|jd|dtj|df�q W||�}|jd�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//usr/lib64/python2.7/distutils/command/bdist.pytshow_formatssRc	Bs�eZdZd0ddde�fd2d3d4d5d6gZdgZdd1defgZd7Z	idd6dd6dd6Z
dddddd dd!gZid8d6d9d6d:d6d;d6d<d6d=d 6d>d6d?d!6Zd-�Z
d.�Zd/�ZRS(@s$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)sowner=tus@Owner name used when creating a tar file [default: current user]sgroup=tgsAGroup name used when creating a tar file [default: current group]shelp-formatss$lists available distribution formatst	bdist_rpmtgztartposixtziptnttos2trpmtbztartztarttartwininsttmsisRPM distributiont
bdist_dumbsgzip'ed tar filesbzip2'ed tar filescompressed tar filestar filet
bdist_wininstsWindows executable installersZIP filet	bdist_msisMicrosoft InstallercCsCd|_d|_d|_d|_d|_d|_d|_dS(Ni(R	t
bdist_baset	plat_nameRtdist_dirt
skip_buildtgrouptowner(tself((s//usr/lib64/python2.7/distutils/command/bdist.pytinitialize_optionsTs						cCs|jdkr?|jr't�|_q?|jd�j|_n|jdkr�|jd�j}tjj	|d|j�|_n|j
d�|jdkr�y|jtj
g|_Wq�tk
r�tddtj
�q�Xn|jdkr�d|_ndS(Ntbuildsbdist.Rs-don't know how to create built distributions son platform %stdist(R%R	R'Rtget_finalized_commandR$t
build_basetostpathtjointensure_string_listRtdefault_formattnametKeyErrorRR&(R*R/((s//usr/lib64/python2.7/distutils/command/bdist.pytfinalize_options]s$	

cCs
g}xN|jD]C}y|j|j|d�Wqtk
rRtd|�qXqWx�tt|j��D]�}||}|j|�}||jkr�|j||_	n|dkr�|j
|_
|j|_n|||dkr�d|_n|j
|�qmWdS(Nisinvalid format '%s'R!i(RRR
R6Rtrangetlentreinitialize_commandtno_format_optionR
R)R(t	keep_temptrun_command(R*tcommandsR
titcmd_nametsub_cmd((s//usr/lib64/python2.7/distutils/command/bdist.pytrunys"

(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)(sowner=Rs@Owner name used when creating a tar file [default: current user](sgroup=RsAGroup name used when creating a tar file [default: current group](R(RsRPM distribution(R!sgzip'ed tar file(R!sbzip2'ed tar file(R!scompressed tar file(R!star file(R"sWindows executable installer(R!sZIP file(R#sMicrosoft Installer(t__name__t
__module__tdescriptionRR	tuser_optionstboolean_optionsRthelp_optionsR;R4RR
R+R7RB(((s//usr/lib64/python2.7/distutils/command/bdist.pyRsJ
		



			(t__doc__t__revision__R0tdistutils.utilRtdistutils.coreRtdistutils.errorsRRRR(((s//usr/lib64/python2.7/distutils/command/bdist.pyt<module>s	

Zerion Mini Shell 1.0