ok

Mini Shell

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

�
`цdc@s�dZdZddlZddlmZddlmZddlmZddl	m
Z
mZddlm
Z
dd	lmZd
efd��YZdS(s�distutils.command.bdist_dumb

Implements the Distutils 'bdist_dumb' command (create a "dumb" built
distribution -- i.e., just an archive to be unpacked under $prefix or
$exec_prefix).s$Id$i����N(tget_python_version(tget_platform(tCommand(tremove_treetensure_relative(tDistutilsPlatformError(tlogt
bdist_dumbcBs�eZdZd"ddde�fd#d
ddd
fd$d&d'd(d)g	Zd
ddgZidd6dd6dd6Zd�Zd �Z	d!�Z
RS(*s"create a "dumb" built distributions
bdist-dir=tds1temporary directory for creating the distributions
plat-name=tps;platform name to embed in generated filenames (default: %s)sformat=tfs0archive format to create (tar, ztar, gztar, zip)s	keep-temptks/keep the pseudo-installation tree around after s!creating the distribution archives	dist-dir=s-directory to put final built distributions ins
skip-builds2skip rebuilding everything (for testing/debugging)trelatives6build the archive using relative paths(default: false)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]tgztartposixtziptnttos2cCsUd|_d|_d|_d|_d|_d|_d|_d|_d|_	dS(Ni(
tNonet	bdist_dirt	plat_nametformatt	keep_temptdist_dirt
skip_buildRtownertgroup(tself((s4/usr/lib64/python2.7/distutils/command/bdist_dumb.pytinitialize_options7s								cCs�|jdkr<|jd�j}tjj|d�|_n|jdkr�y|jtj	|_Wq�t
k
r�tddtj	�q�Xn|jddd	d
�dS(Ntbdisttdumbs2don't know how to create dumb built distributions son platform %sRRR(sdist_dirsdist_dir(s	plat_names	plat_name(s
skip_builds
skip_build(
RRtget_finalized_commandt
bdist_basetostpathtjoinRtdefault_formattnametKeyErrorRtset_undefined_options(RR"((s4/usr/lib64/python2.7/distutils/command/bdist_dumb.pytfinalize_optionsBs
	c
Cs�|js|jd�n|jddd�}|j|_|j|_d|_tjd|j�|jd�d|jj	�|j
f}tjdkr�|j
d	d
�}ntjj|j|�}|js�|j}nj|jj�r&|j|jkr&tdt|j�t|j�f�n!tjj|jt|j��}|j||jd|d
|jd|j�}|jj�r�t�}nd}|jjjd||f�|js�t |jd|j!�ndS(Ntbuildtinstalltreinit_subcommandsiisinstalling to %ss%s.%sRt:t-sScan't make a dumb built distribution where base and platbase are different (%s, %s)troot_dirRRtanyRtdry_run("Rtrun_commandtreinitialize_commandRtroottwarn_dirRtinfotdistributiontget_fullnameRR#R'treplaceR$R%RRthas_ext_modulestinstall_basetinstall_platbaseRtreprRtmake_archiveRRRRt
dist_filestappendRRR2(RR,tarchive_basenametpseudoinstall_roottarchive_roottfilenamet	pyversion((s4/usr/lib64/python2.7/distutils/command/bdist_dumb.pytrunTsB		

		
	(s
bdist-dir=Rs1temporary directory for creating the distribution(sformat=R
s0archive format to create (tar, ztar, gztar, zip)(s	dist-dir=Rs-directory to put final built distributions inN(s
skip-buildNs2skip rebuilding everything (for testing/debugging)(srelativeNs6build the archive using relative paths(default: false)(sowner=R
s@Owner name used when creating a tar file [default: current user](sgroup=RsAGroup name used when creating a tar file [default: current group](t__name__t
__module__tdescriptionRRtuser_optionstboolean_optionsR&RR*RG(((s4/usr/lib64/python2.7/distutils/command/bdist_dumb.pyRs8
	

		(t__doc__t__revision__R#t	sysconfigRtdistutils.utilRtdistutils.coreRtdistutils.dir_utilRRtdistutils.errorsRt	distutilsRR(((s4/usr/lib64/python2.7/distutils/command/bdist_dumb.pyt<module>s

Zerion Mini Shell 1.0