-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/bzrlib/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/bzrlib/bzr_distutils.pyc

ó
î:ïNc@@sˆdZddlmZddlmZddlmZddlmZddl	m
Z
ddlZddlZdefd	„ƒYZ
dS(
sbuild_mo command for setup.pyi(tabsolute_import(tlog(tCommand(tnewer(tfind_executableNtbuild_mocB@sMeZdZdZdddddgZd
gZd„Zd„Zd„Z	RS(s%Subcommand of build command: build_moscompile po files to mo filess
build-dir=tdsDirectory to build locale filessoutput-base=tosmo-files base namessource-dir=sDirectory with sources po filestforcetfsForce creation of mo filesslang=s,Comma-separated list of languages to processcC@s1d|_d|_d|_d|_d|_dS(N(tNonet	build_dirtoutput_baset
source_dirRtlang(tself((s8/usr/lib/python2.7/dist-packages/bzrlib/bzr_distutils.pytinitialize_options4s
				cC@s,|jdd	ƒ|jjƒ|_|jdkr=d|_n|js[|jpRd|_n|jdkrvd|_n|jdkrît	j
dƒ}g|_xˆtj|jƒD]7}|j
|ƒ}|r°|jj|jdƒƒq°q°Wn:g|jjdƒD]}|jƒr|jƒ^q|_dS(
NtbuildRs
bzrlib/localetmessagestpos^([a-zA-Z_]+)\.po$it,(sforcesforce(tset_undefined_optionstdistributiontget_nametprj_nameRR
RR
Rtretcompiletostlistdirtmatchtappendtgrouptsplittstrip(Rtre_potitmo((s8/usr/lib/python2.7/dist-packages/bzrlib/bzr_distutils.pytfinalize_options;s 		#cC@sù|js
dStdƒdkr=tjdƒtjdƒdSd|jkrítdƒdkr{tjdƒtjdƒqítjd	ƒ|jp”d
d}d}|jdd
dddtj	j
|j|ƒdtj	j
|j|ƒgƒn|j}|j
dƒs|d7}nxà|jD]Õ}tj	j
d|dƒ}tj	j|ƒsitj	j
d|dƒ}ntj	j
|j|dƒ}|j|ƒtj	j
||ƒ}|js¾t||ƒrtjd||fƒ|jdd||gƒqqWdS(sRun msgfmt for each languageNtmsgfmts%GNU gettext msgfmt utility not found!sSkip compiling po files.tentmsginits&GNU gettext msginit utility not found!sSkip creating English PO file.sCreating English PO file...Rs.potsen.pos--no-translators-ls-is-os.moRs.potLC_MESSAGESsCompile: %s -> %s(RRR
RtwarntinfoRtspawnRtpathtjoinR
RtendswithtisfileRtmkpathRR(Rtpotten_potbasenameRRtdir_R$((s8/usr/lib/python2.7/dist-packages/bzrlib/bzr_distutils.pytrunNs>	



	"	

(s
build-dir=RsDirectory to build locale files(soutput-base=Rsmo-files base nameN(ssource-dir=NsDirectory with sources po files(sforceR	sForce creation of mo files(slang=Ns,Comma-separated list of languages to process(
t__name__t
__module__t__doc__tdescriptionR
tuser_optionstboolean_optionsRR%R6(((s8/usr/lib/python2.7/dist-packages/bzrlib/bzr_distutils.pyR!s				(R9t
__future__Rt	distutilsRtdistutils.coreRtdistutils.dep_utilRtdistutils.spawnRRRR(((s8/usr/lib/python2.7/dist-packages/bzrlib/bzr_distutils.pyt<module>s

Copyright © 2017 || Recoded By Mr.Bumblebee